1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 flit-core, 7}: 8 9buildPythonPackage { 10 pname = "pylibjpeg-data"; 11 version = "unstable-2024-03-28"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "pydicom"; 18 repo = "pylibjpeg-data"; 19 rev = "8253566715800a7fc3d4d949abab102c8172bca0"; 20 hash = "sha256-TzhiZ4LCFZX75h3YRrEFO5kRVc5VwTOJd+1VFW3LsaQ="; 21 }; 22 23 build-system = [ flit-core ]; 24 25 doCheck = false; # no tests 26 27 pythonImportsCheck = [ 28 "ljdata" 29 "ljdata.ds" 30 "ljdata.jpg" 31 ]; 32 33 meta = { 34 description = "JPEG and DICOM data used for testing pylibjpeg"; 35 homepage = "https://github.com/pydicom/pylibjpeg-data"; 36 license = lib.licenses.mit; 37 maintainers = [ lib.maintainers.bcdarwin ]; 38 }; 39}