Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 57 lines 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, setuptools-scm 6, cython 7, entrypoints 8, numpy 9, msgpack 10, pytestCheckHook 11, python 12}: 13 14buildPythonPackage rec { 15 pname = "numcodecs"; 16 version = "0.10.2"; 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "sha256-IoOMaz/Zhr2cckA5uIhwBX95DiKyDm4cu6oN4ULdWcQ="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools-scm 26 cython 27 ]; 28 29 propagatedBuildInputs = [ 30 entrypoints 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}