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