about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-05-07 23:02:39 -0500
committerGitHub <noreply@github.com>2019-05-07 23:02:39 -0500
commit021a9342abe60ecce28b08738c824f6697b23282 (patch)
treea9b2c077f21035b0647f0a2b9450c3f6cf509c09
parent71f978618557248b66fd4461918967c1e1c00f43 (diff)
parent165822f8e8a20df2cc23f2da69470f0d4133ce5d (diff)
downloadnixlib-021a9342abe60ecce28b08738c824f6697b23282.tar
nixlib-021a9342abe60ecce28b08738c824f6697b23282.tar.gz
nixlib-021a9342abe60ecce28b08738c824f6697b23282.tar.bz2
nixlib-021a9342abe60ecce28b08738c824f6697b23282.tar.lz
nixlib-021a9342abe60ecce28b08738c824f6697b23282.tar.xz
nixlib-021a9342abe60ecce28b08738c824f6697b23282.tar.zst
nixlib-021a9342abe60ecce28b08738c824f6697b23282.zip
Merge pull request #61101 from costrouc/python-tess-init
pythonPackages.tess: init at unstable-2019-05-07
-rw-r--r--pkgs/development/python-modules/tess/default.nix30
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tess/default.nix b/pkgs/development/python-modules/tess/default.nix
new file mode 100644
index 000000000000..987fbf010197
--- /dev/null
+++ b/pkgs/development/python-modules/tess/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, cython
+, numpy
+, scipy
+}:
+
+buildPythonPackage rec {
+  pname = "tess";
+  version = "unstable-2019-05-07";
+
+  src = fetchFromGitHub {
+    owner = "wackywendell";
+    repo = "tess";
+    rev = "22c19df952732f9749637d1bf6d7b676b6c7b26c";
+    sha256 = "0pj18nrfx749fjc6bjdk5r3g1104c6jy6xg7jrpmssllhypbb1m4";
+  };
+
+  buildInputs = [ cython ];
+
+  propagatedBuildInputs = [ numpy scipy ];
+
+  meta = with lib; {
+    description = "A module for calculating and analyzing Voronoi tessellations";
+    homepage = https://tess.readthedocs.org;
+    license = licenses.bsd3;
+    maintainers = [ maintainers.costrouc ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index d20ac3015d06..38d82984c488 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -4346,6 +4346,8 @@ in {
 
   terminado = callPackage ../development/python-modules/terminado { };
 
+  tess = callPackage ../development/python-modules/tess { };
+
   testresources = callPackage ../development/python-modules/testresources { };
 
   testtools = callPackage ../development/python-modules/testtools { };