f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
39 lines
795 B
Nix
39 lines
795 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylibjpeg-data";
|
|
version = "unstable-2024-03-28";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pydicom";
|
|
repo = "pylibjpeg-data";
|
|
rev = "8253566715800a7fc3d4d949abab102c8172bca0";
|
|
hash = "sha256-TzhiZ4LCFZX75h3YRrEFO5kRVc5VwTOJd+1VFW3LsaQ=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [
|
|
"ljdata"
|
|
"ljdata.ds"
|
|
"ljdata.jpg"
|
|
];
|
|
|
|
meta = {
|
|
description = "JPEG and DICOM data used for testing pylibjpeg";
|
|
homepage = "https://github.com/pydicom/pylibjpeg-data";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.bcdarwin ];
|
|
};
|
|
}
|