nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 742 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.2"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "cheind"; 17 repo = "py-minexr"; 18 tag = version; 19 hash = "sha256-p42rlhaHq0A9+zk6c0evRDjNR1H/ruWJqPF5+nCTR8o="; 20 }; 21 22 propagatedBuildInputs = [ numpy ]; 23 24 pythonImportsCheck = [ "minexr" ]; 25 nativeCheckInputs = [ 26 pytestCheckHook 27 pillow 28 ]; 29 30 meta = { 31 description = "Minimal, standalone OpenEXR reader for single-part, uncompressed scan line files"; 32 homepage = "https://github.com/cheind/py-minexr"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ lucasew ]; 35 }; 36}