blob: 9d655d87f282e222faf80d6f4ba58b58cc21460b (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
versioneer,
numpy,
pytestCheckHook,
python,
}:
buildPythonPackage (finalAttrs: {
pname = "bottleneck";
version = "1.6.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-Ao1G7ksCWtmrTXmSQROBb4JfYrF7h8nh0NjOFEpKDjE=";
};
build-system = [
setuptools
versioneer
];
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = "pushd $out";
postCheck = "popd";
pythonImportsCheck = [ "bottleneck" ];
meta = {
description = "Fast NumPy array functions";
homepage = "https://github.com/pydata/bottleneck";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})
|