mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
bf995e3641
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
37 lines
750 B
Nix
37 lines
750 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
numpy,
|
|
pillow,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "minexr";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cheind";
|
|
repo = "py-minexr";
|
|
rev = "v${version}";
|
|
hash = "sha256-Om67ttAHxu7C3IwPB+JHYi78E9qBi1E6layMVg4+S3M=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
pythonImportsCheck = [ "minexr" ];
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|