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: c0611717dcab
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 284df609869c
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Dec 10, 2018

  1. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    da24df9 View commit details

Commits on Dec 21, 2018

  1. Merge pull request #51841 from veprbl/pr/pyjet_fix

    pythonPackages.pyjet: fix for python37
    veprbl authored Dec 21, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    284df60 View commit details
Showing with 10 additions and 1 deletion.
  1. +10 −1 pkgs/development/python-modules/pyjet/default.nix
11 changes: 10 additions & 1 deletion pkgs/development/python-modules/pyjet/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, nose, numpy }:
{ lib, buildPythonPackage, fetchPypi, cython, nose, numpy }:

buildPythonPackage rec {
pname = "pyjet";
@@ -9,6 +9,15 @@ buildPythonPackage rec {
sha256 = "1glcwv9ni8i40smfw6m456xjadlkackim5nk33xmas1fa96lpagg";
};

# fix for python37
# https://github.com/scikit-hep/pyjet/issues/8
nativeBuildInputs = [ cython ];
preBuild = ''
for f in pyjet/src/*.{pyx,pxd}; do
cython --cplus "$f"
done
'';

propagatedBuildInputs = [ numpy ];
checkInputs = [ nose ];