Martin Weinelt 1834d50fb2
python3Packages.pytools: 2025.1.1 -> 2025.1.2
https://github.com/inducer/pytools/releases/tag/v2025.1.2

This commit was automatically generated using update-python-libraries.
2025-04-03 23:13:01 +02:00

56 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
numpy,
platformdirs,
pytestCheckHook,
pythonOlder,
typing-extensions,
siphash24,
}:
buildPythonPackage rec {
pname = "pytools";
version = "2025.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-wA25T92aljmJlzLL+RvLKReGdRzJA4CwfXOBgspQ8rE=";
};
build-system = [ hatchling ];
dependencies = [
platformdirs
typing-extensions
];
optional-dependencies = {
numpy = [ numpy ];
siphash = [ siphash24 ];
};
nativeCheckInputs = [
pytestCheckHook
] ++ optional-dependencies.siphash;
pythonImportsCheck = [
"pytools"
"pytools.batchjob"
"pytools.lex"
];
meta = {
description = "Miscellaneous Python lifesavers";
homepage = "https://github.com/inducer/pytools/";
changelog = "https://github.com/inducer/pytools/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ artuuge ];
};
}