2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, pytest
|
|
|
|
, locket
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, pyzmq
|
|
|
|
, toolz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "partd";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "aa67897b84d522dcbc86a98b942afab8c6aa2f7f677d904a616b74ef5ddbc3eb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ locket numpy pandas pyzmq toolz ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
rm partd/tests/test_zmq.py # requires network & fails
|
|
|
|
py.test -k "not test_serialize"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Appendable key-value storage";
|
|
|
|
license = with lib.licenses; [ bsd3 ];
|
|
|
|
homepage = "https://github.com/dask/partd/";
|
|
|
|
};
|
|
|
|
}
|