1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, setuptools-scm 6, cython 7, numpy 8, msgpack 9, pytestCheckHook 10, python 11, gcc8 12}: 13 14buildPythonPackage rec { 15 pname = "numcodecs"; 16 version = "0.9.1"; 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997"; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools-scm 26 cython 27 gcc8 28 ]; 29 30 propagatedBuildInputs = [ 31 numpy 32 msgpack 33 ]; 34 35 checkInputs = [ 36 pytestCheckHook 37 ]; 38 39 pytestFlagsArray = [ 40 "$out/${python.sitePackages}/numcodecs" 41 ]; 42 43 disabledTests = [ 44 "test_backwards_compatibility" 45 46 "test_encode_decode" 47 "test_legacy_codec_broken" 48 "test_bytes" 49 ]; 50 51 meta = with lib;{ 52 homepage = "https://github.com/zarr-developers/numcodecs"; 53 license = licenses.mit; 54 description = "Buffer compression and transformation codecs for use in data storage and communication applications"; 55 maintainers = [ maintainers.costrouc ]; 56 }; 57}