Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 39 lines 835 B view raw
1{ 2 stdenv, 3 lib, 4 fetchPypi, 5 buildPythonPackage, 6 pytest, 7 numpy, 8 cython, 9}: 10 11buildPythonPackage rec { 12 pname = "imagecodecs-lite"; 13 version = "2019.12.3"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0s4xb17qd7vimc46rafbjnibj4sf0lnv8cwl22k1h6zb7jhqmlcm"; 19 }; 20 21 nativeBuildInputs = [ cython ]; 22 23 nativeCheckInputs = [ pytest ]; 24 25 propagatedBuildInputs = [ numpy ]; 26 27 checkPhase = '' 28 pytest 29 ''; 30 31 meta = with lib; { 32 broken = 33 (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin; 34 description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions"; 35 homepage = "https://www.lfd.uci.edu/~gohlke/"; 36 maintainers = [ maintainers.tbenst ]; 37 license = licenses.bsd3; 38 }; 39}