Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 35 lines 664 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, locket 6, numpy 7, pandas 8, pyzmq 9, toolz 10}: 11 12buildPythonPackage rec { 13 pname = "partd"; 14 version = "0.3.10"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "33722a228ebcd1fa6f44b1631bdd4cff056376f89eb826d7d880b35b637bcfba"; 19 }; 20 21 checkInputs = [ pytest ]; 22 23 propagatedBuildInputs = [ locket numpy pandas pyzmq toolz ]; 24 25 checkPhase = '' 26 rm partd/tests/test_zmq.py # requires network & fails 27 py.test -k "not test_serialize" 28 ''; 29 30 meta = { 31 description = "Appendable key-value storage"; 32 license = with lib.licenses; [ bsd3 ]; 33 homepage = https://github.com/dask/partd/; 34 }; 35}