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";
|
2022-09-14 22:36:14 +01:00
|
|
|
version = "1.3.0";
|
2019-12-24 09:35:15 +00:00
|
|
|
disabled = isPy27;
|
2018-01-01 15:31:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-14 22:36:14 +01:00
|
|
|
sha256 = "sha256-zpGrzcYXjWaLyqQxeRpakX2QI0HLGT9UP+RF1JRmBIU=";
|
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
|
|
|
}
|