3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.minexr: init at 1.0.1

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2022-01-07 16:38:04 -03:00
parent 2913e23931
commit 2a1bea692f
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ 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" ];
checkInputs = [ 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 ];
};
}

View file

@ -4970,6 +4970,8 @@ in {
millheater = callPackage ../development/python-modules/millheater { };
minexr = callPackage ../development/python-modules/minexr { };
miniaudio = callPackage ../development/python-modules/miniaudio { };
minidb = callPackage ../development/python-modules/minidb { };