2017-12-31 11:25:36 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2017-12-31 11:27:29 +01:00
|
|
|
, fetchPypi
|
2017-12-31 11:25:36 +01:00
|
|
|
, decorator
|
|
|
|
, appdirs
|
|
|
|
, six
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytools";
|
2019-02-14 08:37:28 +01:00
|
|
|
version = "2019.1";
|
2017-12-31 11:25:36 +01:00
|
|
|
|
2017-12-31 11:27:29 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 08:37:28 +01:00
|
|
|
sha256 = "f6972030e6c97089e49b832fd1f4e7959aee89bb6db929aaa3bde2553d78872b";
|
2017-12-31 11:25:36 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|