3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pytools/default.nix
2018-02-26 19:03:28 +01:00

39 lines
673 B
Nix

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