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