1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pytools/default.nix

39 lines
673 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
2017-12-31 10:25:36 +00:00
, decorator
, appdirs
, six
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "pytools";
2018-06-12 17:47:06 +01:00
version = "2018.4";
2017-12-31 10:25:36 +00:00
2017-12-31 10:27:29 +00:00
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:06 +01:00
sha256 = "f9746ef763ce4d7d59ee8506ee83dd684884e4b520244b67f253095decc8a876";
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 ];
};
}