2022-01-13 20:06:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, numpy
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "minexr";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cheind";
|
|
|
|
repo = "py-minexr";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-Om67ttAHxu7C3IwPB+JHYi78E9qBi1E6layMVg4+S3M=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "minexr" ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook pillow ];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|