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'
  ```
This commit is contained in:
Jonathan Ringer 2020-06-25 21:54:41 -07:00 committed by Jon
parent f122c08d93
commit e897fc34b4

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, pytest , pytest
, pytestrunner , pytestrunner
, numpy , numpy
@ -10,6 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
version = "2.0.0"; version = "2.0.0";
pname = "pydicom"; pname = "pydicom";
disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;