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.9";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "1fd6d9c12f14ea180e659a9e4a686ff2816dd930e8fb0b84c0d8116a29cfe66b";
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}