depot/third_party/nixpkgs/pkgs/development/python-modules/minexr/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
750 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
numpy,
pillow,
}:
buildPythonPackage rec {
pname = "minexr";
version = "1.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "cheind";
repo = "py-minexr";
rev = "v${version}";
hash = "sha256-Om67ttAHxu7C3IwPB+JHYi78E9qBi1E6layMVg4+S3M=";
};
propagatedBuildInputs = [ numpy ];
pythonImportsCheck = [ "minexr" ];
nativeCheckInputs = [
pytestCheckHook
pillow
];
meta = with lib; {
description = "Minimal, standalone OpenEXR reader for single-part, uncompressed scan line files";
homepage = "https://github.com/cheind/py-minexr";
license = licenses.mit;
maintainers = with maintainers; [ lucasew ];
};
}