blob: 81b3f8b10a8c2e5a90ae60cf747035fc47a3c57e (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
numpy,
pytestCheckHook,
python,
}:
buildPythonPackage rec {
pname = "bottleneck";
version = "1.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Ao1G7ksCWtmrTXmSQROBb4JfYrF7h8nh0NjOFEpKDjE=";
};
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = "pushd $out";
postCheck = "popd";
disabledTests = [ "test_make_c_files" ];
pythonImportsCheck = [ "bottleneck" ];
meta = {
description = "Fast NumPy array functions";
homepage = "https://github.com/pydata/bottleneck";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
|