rivet: 4.0.2 -> 4.0.3 (#383055)

This commit is contained in:
Dmitry Kalinkin
2025-02-18 10:32:46 -05:00
committed by GitHub
3 changed files with 14 additions and 22 deletions
@@ -5,10 +5,10 @@
fastjet,
fastjet-contrib,
ghostscript,
graphicsmagick-imagemagick-compat,
hdf5,
hepmc3,
highfive,
imagemagick,
less,
pkg-config,
python3,
@@ -21,11 +21,11 @@
stdenv.mkDerivation rec {
pname = "rivet";
version = "4.0.2";
version = "4.0.3";
src = fetchurl {
url = "https://www.hepforge.org/archive/rivet/Rivet-${version}.tar.bz2";
hash = "sha256-ZaOzb0K/94LtJ2eTDmaeCbFAiZYF15cvyPd3hbSogsA=";
hash = "sha256-27l7dp0Yd/NMPFAZASe/2nhHvOx5uh3llWH99DzdSGk=";
};
latex = texliveBasic.withPackages (
@@ -52,9 +52,9 @@ stdenv.mkDerivation rec {
pkg-config
];
buildInputs = [
graphicsmagick-imagemagick-compat
hepmc3
highfive
imagemagick
python3
latex
python3.pkgs.yoda
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
--replace-fail '"ps2pdf"' '"${ghostscript}/bin/ps2pdf"' \
--replace-fail '"ps2eps"' '"${ghostscript}/bin/ps2eps"' \
--replace-fail '"kpsewhich"' '"'$latex'/bin/kpsewhich"' \
--replace-fail '"convert"' '"${imagemagick.out}/bin/convert"'
--replace-fail '"convert"' '"${graphicsmagick-imagemagick-compat.out}/bin/convert"'
substituteInPlace bin/rivet \
--replace-fail '"less"' '"${less}/bin/less"'
substituteInPlace bin/rivet-mkhtml-tex \
@@ -109,11 +109,11 @@ stdenv.mkDerivation rec {
done
'';
meta = with lib; {
meta = {
description = "Framework for comparison of experimental measurements from high-energy particle colliders to theory predictions";
license = licenses.gpl3;
license = lib.licenses.gpl3;
homepage = "https://rivet.hepforge.org";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ veprbl ];
};
}
+5 -9
View File
@@ -30,20 +30,16 @@ stdenv.mkDerivation rec {
];
buildInputs =
[
python3
]
[ python3 ]
++ (with python3.pkgs; [
numpy
matplotlib
])
++ lib.optionals withRootSupport [
root
];
++ lib.optionals withRootSupport [ root ];
propagatedBuildInputs = [
zlib
];
propagatedBuildInputs = [ zlib ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-DWITH_OSX";
strictDeps = true;
-4
View File
@@ -17364,10 +17364,6 @@ with pkgs;
hepmc = hepmc2;
};
rivet = callPackage ../development/libraries/physics/rivet {
imagemagick = graphicsmagick-imagemagick-compat;
};
yoda-with-root = lowPrio (yoda.override {
withRootSupport = true;
});