Files
nixpkgs/pkgs/development/python-modules/pylibjpeg-data/default.nix
T
Ben Darwin 95af2702bb python311Packages.pylibjpeg-data: init at unstable-2024-03-24
Previously this package was let-bound within python311Packages.pylibjpeg under incorrect version 1.0.0dev0.
2024-07-25 01:25:37 -04:00

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