Files
nixpkgs/pkgs/development/python-modules/minexr/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
748 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 = {
description = "Minimal, standalone OpenEXR reader for single-part, uncompressed scan line files";
homepage = "https://github.com/cheind/py-minexr";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lucasew ];
};
}