summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-10 01:33:00 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-13 10:09:00 +0200
commite8bcf55d34faa1636f9d491c590fd3b757ee0a65 (patch)
tree10d9dadacc9dbd6b1b50c9975369bdb1a500b0ba
parenta3b28907289c0fcabfe89a39886ae2acab6b2fd4 (diff)
downloadnixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.tar
nixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.tar.gz
nixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.tar.bz2
nixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.tar.lz
nixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.tar.xz
nixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.tar.zst
nixlib-e8bcf55d34faa1636f9d491c590fd3b757ee0a65.zip
python36Packages.pyvoro: init at 1.3.2
python wrapper to voro++
-rw-r--r--pkgs/development/python-modules/pyvoro/default.nix24
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyvoro/default.nix b/pkgs/development/python-modules/pyvoro/default.nix
new file mode 100644
index 000000000000..83bdcec86bd2
--- /dev/null
+++ b/pkgs/development/python-modules/pyvoro/default.nix
@@ -0,0 +1,24 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+}:
+
+buildPythonPackage rec {
+  version = "1.3.2";
+  pname = "pyvoro";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "f31c047f6e4fc5f66eb0ab43afd046ba82ce247e18071141791364c4998716fc";
+  };
+
+  # No tests in package
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/joe-jordan/pyvoro;
+    description = "2D and 3D Voronoi tessellations: a python entry point for the voro++ library";
+    license = licenses.mit;
+    maintainers = [ maintainers.costrouc ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 437c1b94749b..a8cfcdbdc432 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -574,6 +574,8 @@ in {
 
   pyxml = disabledIf isPy3k (callPackage ../development/python-modules/pyxml{ });
 
+  pyvoro = callPackage ../development/python-modules/pyvoro { };
+
   relatorio = callPackage ../development/python-modules/relatorio { };
 
   pyzufall = callPackage ../development/python-modules/pyzufall { };