summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2022-07-20 11:49:16 +0200
committernikstur <nikstur@outlook.com>2022-07-20 11:49:16 +0200
commitd7af5642a8845b7acffee3ba7aca51aea80ce0ca (patch)
treea68c6aa661ae8ebc9be270681de537484854f52b /pkgs
parentc1c0ad50e60dc96c25ec1ef8f952144e16494077 (diff)
downloadnixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.tar
nixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.tar.gz
nixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.tar.bz2
nixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.tar.lz
nixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.tar.xz
nixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.tar.zst
nixpkgs-d7af5642a8845b7acffee3ba7aca51aea80ce0ca.zip
python3Packages.plantuml: init at 0.3.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/plantuml/default.nix36
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/plantuml/default.nix b/pkgs/development/python-modules/plantuml/default.nix
new file mode 100644
index 00000000000..f887453bd68
--- /dev/null
+++ b/pkgs/development/python-modules/plantuml/default.nix
@@ -0,0 +1,36 @@
+{ buildPythonPackage
+, fetchFromGitHub
+, lib
+  # Runtime dependencies
+, httplib2
+, six
+}:
+
+buildPythonPackage {
+  pname = "plantuml";
+  version = "0.3.0";
+
+  src = fetchFromGitHub {
+    owner = "dougn";
+    repo = "python-plantuml";
+    rev = "93e1aac25b17d896b0d05d0a1aa352c7bd11dd31";
+    sha256 = "sha256-aPXPqoKlu8VLi0Jn84brG7v3qM9L18Ut4sabYYGb3qQ=";
+  };
+
+  propagatedBuildInputs = [
+    httplib2
+    six
+  ];
+
+  # Project does not contain a test suite
+  doCheck = false;
+
+  pythonImportsCheck = [ "plantuml" ];
+
+  meta = with lib; {
+    description = "Python interface to a plantuml web service instead of having to run java locally";
+    homepage = "https://github.com/dougn/python-plantuml";
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ nikstur ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 4f430c6bb18..7e36f728315 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6755,6 +6755,8 @@ in {
 
   plaid-python = callPackage ../development/python-modules/plaid-python { };
 
+  plantuml = callPackage ../development/python-modules/plantuml { };
+
   plaster = callPackage ../development/python-modules/plaster { };
 
   plaster-pastedeploy = callPackage ../development/python-modules/plaster-pastedeploy { };