2017-12-31 10:25:36 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2017-12-31 10:27:29 +00:00
|
|
|
, fetchPypi
|
2017-12-31 10:25:36 +00:00
|
|
|
, decorator
|
|
|
|
, appdirs
|
|
|
|
, six
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytools";
|
2018-04-04 19:16:13 +01:00
|
|
|
version = "2018.3";
|
2017-12-31 10:25:36 +00:00
|
|
|
|
2017-12-31 10:27:29 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:16:13 +01:00
|
|
|
sha256 = "26143e4ce415919272a5a8d05727bf5e026faa6536fe0ba85302e5b88ebae9f5";
|
2017-12-31 10:25:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
decorator
|
|
|
|
appdirs
|
|
|
|
six
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test -k 'not test_persistent_dict'
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/inducer/pytools/;
|
|
|
|
description = "Miscellaneous Python lifesavers.";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ artuuge ];
|
|
|
|
};
|
|
|
|
}
|