depot/third_party/nixpkgs/pkgs/development/python-modules/pylibjpeg-data/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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 ];
};
}