git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.bottleneck: 1.2.1 -> 1.3.1

Also gave the expression some love

commit146e2a0cedeedcb5c5fa89bb16feefc64899e265 authorJonathan Ringer <jonringer117@gmail.com> dateSun 15 Dec 2019, 20:22 (7 years ago) parentea96d2a
1 file changed+17−9
pkgs/development/python-modules/bottleneck/default.nix+17−9
pkgs/development/python-modules/bottleneck/default.nix+17−9
@@ -1,26 +1,34 @@
1−{ buildPythonPackage
2−, fetchPypi
1+{ lib, buildPythonPackage, fetchPypi
32, nose
4−, pytest
53, numpy
4+, pytest
65, python
76}:
87
98buildPythonPackage rec {
109 pname = "Bottleneck";
11− version = "1.2.1";
10+ version = "1.3.1";
1211
1312 src = fetchPypi {
1413 inherit pname version;
15− sha256 = "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36";
14+ sha256 = "0a2a94zahl3kqld2n9dm58fvazz9s52sa16nd8yn5jv20hvqc5a5";
1615 };
1716
18− checkInputs = [ pytest nose ];
1917 propagatedBuildInputs = [ numpy ];
20− checkPhase = ''
21− py.test -p no:warnings $out/${python.sitePackages}
22− '';
18+
2319 postPatch = ''
2420 substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" ""
2521 '';
22+
23+ checkInputs = [ pytest nose ];
24+ checkPhase = ''
25+ py.test -p no:warnings $out/${python.sitePackages}
26+ '';
27+
28+ meta = with lib; {
29+ description = "Fast NumPy array functions written in C";
30+ homepage = "https://github.com/pydata/bottleneck";
31+ license = licenses.bsd2;
32+ maintainers = with maintainers; [ ];
33+ };
2634}