about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-06-02 09:41:16 -0500
committerGitHub <noreply@github.com>2019-06-02 09:41:16 -0500
commit07fb0bed14e7eb170a50fb7d7ed0a7c33d06be21 (patch)
tree636a7ceefcf5fcc2e3f5e171015bad8eb1db7ce6 /pkgs
parentfc277721f0aca26bb1753aadc60deb4fda64d326 (diff)
parent59e50937a2945cdf838e87691744eaff777002c6 (diff)
Merge pull request #62501 from risicle/ris-sparse-no-py2
pythonPackages.sparse: disable for py2.7
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/sparse/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sparse/default.nix b/pkgs/development/python-modules/sparse/default.nix
index f08d8c47c826f..168c491f7ef83 100644
--- a/pkgs/development/python-modules/sparse/default.nix
+++ b/pkgs/development/python-modules/sparse/default.nix
@@ -1,6 +1,7 @@
 { lib
 , buildPythonPackage
 , fetchPypi
+, isPy3k
 , numpy
 , scipy
 , numba
@@ -11,6 +12,8 @@ buildPythonPackage rec {
   pname = "sparse";
   version = "0.7.0";
 
+  disabled = !isPy3k;
+
   src = fetchPypi {
     inherit pname version;
     sha256 = "0ija4pl8wg36ldsdv5jmqr5i75qi17vijcwwf2jdn1k15kqg35j4";