Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 801 B view raw
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchPypi 5, setuptools_scm 6, asciitree 7, numpy 8, fasteners 9, numcodecs 10, pytest 11}: 12 13buildPythonPackage rec { 14 pname = "zarr"; 15 version = "2.4.0"; 16 disabled = isPy27; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "53aa21b989a47ddc5e916eaff6115b824c0864444b1c6f3aaf4f6cf9a51ed608"; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools_scm 25 ]; 26 27 propagatedBuildInputs = [ 28 asciitree 29 numpy 30 fasteners 31 numcodecs 32 ]; 33 34 checkInputs = [ 35 pytest 36 ]; 37 38 checkPhase = '' 39 pytest 40 ''; 41 42 meta = with lib; { 43 description = "An implementation of chunked, compressed, N-dimensional arrays for Python"; 44 homepage = "https://github.com/zarr-developers/zarr"; 45 license = licenses.mit; 46 maintainers = [ maintainers.costrouc ]; 47 }; 48}