1{ lib, fetchPypi, buildPythonPackage
2, pytest
3, numpy
4, cython
5}:
6
7buildPythonPackage rec {
8 pname = "imagecodecs-lite";
9 version = "2019.12.3";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0s4xb17qd7vimc46rafbjnibj4sf0lnv8cwl22k1h6zb7jhqmlcm";
14 };
15
16 nativeBuildInputs = [
17 cython
18 ];
19
20 checkInputs = [
21 pytest
22 ];
23
24 propagatedBuildInputs = [
25 numpy
26 ];
27
28 checkPhase = ''
29 pytest
30 '';
31
32 meta = with lib; {
33 description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions";
34 homepage = "https://www.lfd.uci.edu/~gohlke/";
35 maintainers = [ maintainers.tbenst ];
36 license = licenses.bsd3;
37 };
38}