nixpkgs/pkgs/development/python-modules/partd/default.nix

35 lines
639 B
Nix
Raw Normal View History

2018-01-01 15:31:17 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, locket
, numpy
, pandas
, pyzmq
, toolz
}:
buildPythonPackage rec {
pname = "partd";
2018-11-04 10:35:08 +00:00
version = "0.3.9";
2018-01-01 15:31:17 +00:00
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:08 +00:00
sha256 = "1fd6d9c12f14ea180e659a9e4a686ff2816dd930e8fb0b84c0d8116a29cfe66b";
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
py.test
'';
meta = {
description = "Appendable key-value storage";
license = with lib.licenses; [ bsd3 ];
homepage = https://github.com/dask/partd/;
};
}