fastnlo_toolkit: 2.5.0pre-2823 -> 2.5.0-2826
Since this comes with pre-generated files, this fixes the python extension.
This commit is contained in:
parent
7e2a123acb
commit
14bbc387a9
1 changed files with 6 additions and 21 deletions
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchurl
|
||||||
, autoreconfHook
|
|
||||||
, boost
|
, boost
|
||||||
, gfortran
|
, gfortran
|
||||||
, lhapdf
|
, lhapdf
|
||||||
|
@ -14,28 +13,14 @@
|
||||||
, withPython ? false
|
, withPython ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
tag = "2823";
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fastnlo_toolkit";
|
pname = "fastnlo_toolkit";
|
||||||
version = "2.5.0pre-${tag}";
|
version = "2.5.0-2826";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchurl {
|
||||||
domain = "gitlab.etp.kit.edu";
|
url = "https://fastnlo.hepforge.org/code/v25/fastnlo_toolkit-${version}.tar.gz";
|
||||||
owner = "qcd-public";
|
sha256 = "sha256-7aIMYCOkHC/17CHYiEfrxvtSJxTDivrS7BQ32cGiEy0=";
|
||||||
repo = "fastNLO";
|
};
|
||||||
rev = tag;
|
|
||||||
hash = "sha256-FEKnEnK90tT4BJJ6MLva9lCl3aYzO1YGdx/8Ol2vM7M=";
|
|
||||||
} + /v2.5/toolkit;
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# remove duplicate macro, to fix for autoconf 2.70
|
|
||||||
sed -e '0,/AC_CONFIG_MACRO_DIR\([m4]\)/{/AC_CONFIG_MACRO_DIR/d}' -i configure.ac
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
|
|
Loading…
Reference in a new issue