mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
0215034f25
when they already rely on SRI hashes.
38 lines
687 B
Nix
38 lines
687 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, pytest
|
|
, locket
|
|
, numpy
|
|
, pandas
|
|
, pyzmq
|
|
, toolz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "partd";
|
|
version = "1.3.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-zpGrzcYXjWaLyqQxeRpakX2QI0HLGT9UP+RF1JRmBIU=";
|
|
};
|
|
|
|
nativeCheckInputs = [ 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/";
|
|
};
|
|
}
|