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

38 lines
696 B
Nix
Raw Normal View History

2018-01-01 15:31:17 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, 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";
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
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/";
2018-01-01 15:31:17 +00:00
};
}