Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 979 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools_scm 5, cython 6, numpy 7, msgpack 8, pytestCheckHook 9, python 10, gcc8 11}: 12 13buildPythonPackage rec { 14 pname = "numcodecs"; 15 version = "0.6.4"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "ef4843d5db4d074e607e9b85156835c10d006afc10e175bda62ff5412fca6e4d"; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools_scm 24 cython 25 gcc8 26 ]; 27 28 propagatedBuildInputs = [ 29 numpy 30 msgpack 31 ]; 32 33 checkInputs = [ 34 pytestCheckHook 35 ]; 36 37 pytestFlagsArray = [ 38 "$out/${python.sitePackages}/numcodecs" 39 ]; 40 41 disabledTests = [ 42 "test_backwards_compatibility" 43 44 "test_encode_decode" 45 "test_legacy_codec_broken" 46 "test_bytes" 47 ]; 48 49 meta = with lib;{ 50 homepage = "https://github.com/alimanfoo/numcodecs"; 51 license = licenses.mit; 52 description = "Buffer compression and transformation codecs for use in data storage and communication applications"; 53 maintainers = [ maintainers.costrouc ]; 54 }; 55}