Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 49 lines 971 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nibabel, 6 pydicom, 7 pylibjpeg, 8 pint, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage { 14 pname = "dcmstack"; 15 version = "0.9-unstable-2024-12-05"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "moloney"; 20 repo = "dcmstack"; 21 rev = "68575996c8956152865e3598b15f621d7c803a96"; 22 hash = "sha256-QXnBtlXkxYDJFdjiqCoEuBMcHnq+87YmHX8j5EPW7HU="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 nibabel 29 pydicom 30 pylibjpeg 31 pint 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "dcmstack" ]; 37 38 disabledTestPaths = [ 39 # AttributeError: 'TestNitoolCli' object has no attribute 'out_dir' 40 "test/test_cli.py" 41 ]; 42 43 meta = { 44 description = "DICOM to Nifti conversion preserving metadata"; 45 homepage = "https://github.com/moloney/dcmstack"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ bcdarwin ]; 48 }; 49}