depot/third_party/nixpkgs/pkgs/development/python-modules/pytools/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

43 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, decorator
, numpy
, platformdirs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytools";
version = "2022.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-GXqs9uH11gxxW5JDh5Kst3Aq7Vnrv7FH+oTtp4DlT+4=";
};
propagatedBuildInputs = [
decorator
numpy
platformdirs
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pytools"
"pytools.batchjob"
"pytools.lex"
];
meta = {
homepage = "https://github.com/inducer/pytools/";
description = "Miscellaneous Python lifesavers.";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ artuuge ];
};
}