fastnlo_toolkit: refactor to not define rev as environment variable

This commit is contained in:
Dmitry Kalinkin 2021-08-08 14:04:51 -04:00
parent 32f2712625
commit a1a34f71dc
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -14,16 +14,19 @@
, withPython ? false , withPython ? false
}: }:
let
tag = "2823";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fastnlo_toolkit"; pname = "fastnlo_toolkit";
rev = "2823"; version = "2.5.0pre-${tag}";
version = "2.5.0pre-${rev}";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.etp.kit.edu"; domain = "gitlab.etp.kit.edu";
owner = "qcd-public"; owner = "qcd-public";
repo = "fastNLO"; repo = "fastNLO";
inherit rev; rev = tag;
hash = "sha256-FEKnEnK90tT4BJJ6MLva9lCl3aYzO1YGdx/8Ol2vM7M="; hash = "sha256-FEKnEnK90tT4BJJ6MLva9lCl3aYzO1YGdx/8Ol2vM7M=";
} + /v2.5/toolkit; } + /v2.5/toolkit;