2018-01-01 15:31:17 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, locket
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, pyzmq
|
|
|
|
, toolz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "partd";
|
2019-04-16 18:15:38 +01:00
|
|
|
version = "0.3.10";
|
2018-01-01 15:31:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:38 +01:00
|
|
|
sha256 = "33722a228ebcd1fa6f44b1631bdd4cff056376f89eb826d7d880b35b637bcfba";
|
2018-01-01 15:31:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ locket numpy pandas pyzmq toolz ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
rm partd/tests/test_zmq.py # requires network & fails
|
2019-02-15 09:15:25 +00:00
|
|
|
py.test -k "not test_serialize"
|
2018-01-01 15:31:17 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Appendable key-value storage";
|
|
|
|
license = with lib.licenses; [ bsd3 ];
|
|
|
|
homepage = https://github.com/dask/partd/;
|
|
|
|
};
|
|
|
|
}
|