nixpkgs-suyu/pkgs/development/python-modules/pytools/default.nix

39 lines
675 B
Nix
Raw Normal View History

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";
2018-07-22 12:19:11 +02:00
version = "2018.5.2";
2017-12-31 11:25:36 +01:00
2017-12-31 11:27:29 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 12:19:11 +02:00
sha256 = "3b3f41e1235b579dc4f4a3d6f5f8ae187841968e72a4f73ac481c6bfe4c1668b";
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 ];
};
}