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

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