2018-01-01 15:31:17 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-12-24 09:35:15 +00:00
|
|
|
, isPy27
|
2018-01-01 15:31:17 +00:00
|
|
|
, pytest
|
|
|
|
, locket
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, pyzmq
|
|
|
|
, toolz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "partd";
|
2019-12-19 19:31:17 +00:00
|
|
|
version = "1.1.0";
|
2019-12-24 09:35:15 +00:00
|
|
|
disabled = isPy27;
|
2018-01-01 15:31:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:17 +00:00
|
|
|
sha256 = "6e258bf0810701407ad1410d63d1a15cfd7b773fd9efe555dac6bb82cc8832b0";
|
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 ];
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dask/partd/";
|
2018-01-01 15:31:17 +00:00
|
|
|
};
|
2019-12-24 09:35:15 +00:00
|
|
|
}
|