Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 157ca8eb7526
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fb0da935095f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 3, 2020

  1. Copy the full SHA
    fb0da93 View commit details
Showing with 14 additions and 2 deletions.
  1. +14 −2 pkgs/development/python-modules/numpy/default.nix
16 changes: 14 additions & 2 deletions pkgs/development/python-modules/numpy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{ lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile, isPyPy }:
{ lib
, fetchPypi
, python
, buildPythonPackage
, gfortran
, pytest
, blas
, writeTextFile
, isPyPy
, cython
, setuptoolsBuildHook
}:

let
blasImplementation = lib.nameFromURL blas.name "-";
@@ -17,14 +28,15 @@ let
in buildPythonPackage rec {
pname = "numpy";
version = "1.18.0";
format = "pyproject.toml";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "a9d72d9abaf65628f0f31bbb573b7d9304e43b1e6bbae43149c17737a42764c4";
};

nativeBuildInputs = [ gfortran pytest ];
nativeBuildInputs = [ gfortran pytest cython setuptoolsBuildHook ];
buildInputs = [ blas ];

patches = lib.optionals python.hasDistutilsCxxPatch [