at master 750 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 numpy, 7 pillow, 8}: 9 10buildPythonPackage rec { 11 pname = "minexr"; 12 version = "1.0.1"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "cheind"; 17 repo = "py-minexr"; 18 rev = "v${version}"; 19 hash = "sha256-Om67ttAHxu7C3IwPB+JHYi78E9qBi1E6layMVg4+S3M="; 20 }; 21 22 propagatedBuildInputs = [ numpy ]; 23 24 pythonImportsCheck = [ "minexr" ]; 25 nativeCheckInputs = [ 26 pytestCheckHook 27 pillow 28 ]; 29 30 meta = with lib; { 31 description = "Minimal, standalone OpenEXR reader for single-part, uncompressed scan line files"; 32 homepage = "https://github.com/cheind/py-minexr"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ lucasew ]; 35 }; 36}