Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
747 B · 41 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, numpy, pydicom}:
buildPythonPackage rec { pname = "dicom-numpy"; version = "0.6.3"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "innolitics"; repo = pname; rev = "v${version}"; hash = "sha256-QIPuSFaWgHmcTddZ8H9kgzLYuwGUzy/FVsi/ttSUskA="; };
propagatedBuildInputs = [ numpy pydicom ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dicom_numpy" ];
meta = with lib; { description = "Read DICOM files into Numpy arrays"; homepage = "https://github.com/innolitics/dicom-numpy"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; };}