Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python3Packages.bottleneck: 1.2.1 -> 1.3.1

Also gave the expression some love

authored by Jonathan Ringer and committed by Jon 146e2a0c ea96d2a1

+17 -9
+17 -9
pkgs/development/python-modules/bottleneck/default.nix
··· 1 - { buildPythonPackage 2 - , fetchPypi 1 + { lib, buildPythonPackage, fetchPypi 3 2 , nose 3 + , numpy 4 4 , pytest 5 - , numpy 6 5 , python 7 6 }: 8 7 9 8 buildPythonPackage rec { 10 9 pname = "Bottleneck"; 11 - version = "1.2.1"; 10 + version = "1.3.1"; 12 11 13 12 src = fetchPypi { 14 13 inherit pname version; 15 - sha256 = "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36"; 14 + sha256 = "0a2a94zahl3kqld2n9dm58fvazz9s52sa16nd8yn5jv20hvqc5a5"; 16 15 }; 17 16 18 - checkInputs = [ pytest nose ]; 19 17 propagatedBuildInputs = [ numpy ]; 20 - checkPhase = '' 21 - py.test -p no:warnings $out/${python.sitePackages} 22 - ''; 18 + 23 19 postPatch = '' 24 20 substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" "" 25 21 ''; 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 + }; 26 34 }