about summary refs log tree commit diff
path: root/pkgs/development/python-modules/biopython
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-11 13:57:36 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-11 13:57:36 +0200
commitdcc4324df471bd146e74b4555e29db1aca8e10ed (patch)
treec4254b38652a907fdbdfd83f3730c65e96539e3d /pkgs/development/python-modules/biopython
parent06ef649346b99be954f4ee8d130ddd3eae41c9a4 (diff)
python2.pkgs.biopython: python2 no longer supported
Diffstat (limited to 'pkgs/development/python-modules/biopython')
-rw-r--r--pkgs/development/python-modules/biopython/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/biopython/default.nix b/pkgs/development/python-modules/biopython/default.nix
index 773d8193cb023..f96b8447e8a87 100644
--- a/pkgs/development/python-modules/biopython/default.nix
+++ b/pkgs/development/python-modules/biopython/default.nix
@@ -2,6 +2,7 @@
 , buildPythonPackage
 , fetchPypi
 , numpy
+, isPy3k
 }:
 
 buildPythonPackage rec {
@@ -13,6 +14,8 @@ buildPythonPackage rec {
     sha256 = "fb1936e9ca9e7af8de1050e84375f23328e04b801063edf0ad73733494d8ec42";
   };
 
+  disabled = !isPy3k;
+
   propagatedBuildInputs = [ numpy ];
   # Checks try to write to $HOME, which does not work with nix
   doCheck = false;