From e897fc34b4ce91a0572559864da32f4e590043b2 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer <jonringer117@gmail.com> Date: Thu, 25 Jun 2020 21:54:41 -0700 Subject: [PATCH] pythonPackages.pydicom: disable python2, abandoned ``` Processing ./pydicom-2.0.0-py2-none-any.whl ERROR: Package 'pydicom' requires a different Python: 2.7.18 not in '>=3.5' ``` --- pkgs/development/python-modules/pydicom/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pydicom/default.nix b/pkgs/development/python-modules/pydicom/default.nix index de6f672e27ca..b875674df61b 100644 --- a/pkgs/development/python-modules/pydicom/default.nix +++ b/pkgs/development/python-modules/pydicom/default.nix @@ -1,6 +1,7 @@ { stdenv , buildPythonPackage , fetchPypi +, isPy27 , pytest , pytestrunner , numpy @@ -10,6 +11,7 @@ buildPythonPackage rec { version = "2.0.0"; pname = "pydicom"; + disabled = isPy27; src = fetchPypi { inherit pname version;