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