3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pytools/default.nix

42 lines
724 B
Nix
Raw Normal View History

2017-12-31 10:25:36 +00:00
{ lib
, buildPythonPackage
2017-12-31 10:27:29 +00:00
, fetchPypi
, pythonOlder
2017-12-31 10:25:36 +00:00
, decorator
, appdirs
, six
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "pytools";
version = "2020.4.3";
disabled = pythonOlder "3.6";
2017-12-31 10:25:36 +00:00
2017-12-31 10:27:29 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "21aa1fd942bc3bc54c8ae3b5e60c1f771e6db0817b7402fd802aa5964f20e629";
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/";
2017-12-31 10:25:36 +00:00
description = "Miscellaneous Python lifesavers.";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ artuuge ];
};
}