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.3.0";
16 disabled = isPy27;
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "sha256-zpGrzcYXjWaLyqQxeRpakX2QI0HLGT9UP+RF1JRmBIU=";
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}