Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 588 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, pytestrunner 6, numpy 7, pillow 8}: 9 10buildPythonPackage rec { 11 version = "1.4.1"; 12 pname = "pydicom"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0ki4736h6mp77733rsrwicl8pyig39idywzcmwvw3nzi2r1yc7w8"; 17 }; 18 19 propagatedBuildInputs = [ numpy pillow ]; 20 checkInputs = [ pytest pytestrunner ]; 21 22 meta = with stdenv.lib; { 23 homepage = https://pydicom.github.io; 24 description = "Pure-Python package for working with DICOM files"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ bcdarwin ]; 27 }; 28}