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