blob: 1abb5f08653cc5b8b120f4f4657e0ff9347af3ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
numpy,
platformdirs,
pytestCheckHook,
typing-extensions,
siphash24,
}:
buildPythonPackage rec {
pname = "pytools";
version = "2025.2.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-nLgr50dW0ZIcArrTx2fr3kZ50tFDqFpMNY0y9lRuVG8=";
};
build-system = [ hatchling ];
dependencies = [
platformdirs
siphash24
typing-extensions
];
optional-dependencies = {
numpy = [ numpy ];
};
nativeCheckInputs = [
pytestCheckHook
];
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 = [ ];
};
}
|