nixpkgs-suyu/pkgs/development/python-modules/pytools/default.nix
2019-06-15 08:44:05 +02:00

39 lines
No EOL
675 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, decorator
, appdirs
, six
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "pytools";
version = "2019.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "ce2d702ae4ef10a70197b00b93141461140d00578f2a862fa946ca1446a300db";
};
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 ];
};
}