Files
nixpkgs/pkgs/development/python-modules/imagecodecs-lite/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
708 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
pytest,
numpy,
cython,
}:
buildPythonPackage rec {
pname = "imagecodecs-lite";
version = "2019.12.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0s4xb17qd7vimc46rafbjnibj4sf0lnv8cwl22k1h6zb7jhqmlcm";
};
nativeBuildInputs = [ cython ];
nativeCheckInputs = [ pytest ];
propagatedBuildInputs = [ numpy ];
checkPhase = ''
pytest
'';
meta = {
description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions";
homepage = "https://www.lfd.uci.edu/~gohlke/";
maintainers = [ lib.maintainers.tbenst ];
license = lib.licenses.bsd3;
};
}