From 9f0979714e6735bb331ba258e31f678a98304d19 Mon Sep 17 00:00:00 2001 From: SCOTT-HAMILTON Date: Fri, 18 Jun 2021 13:58:54 +0200 Subject: [PATCH] eplot: 2.07 -> 2.09 (#126937) Co-authored-by: Sandro --- pkgs/tools/graphics/eplot/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/eplot/default.nix b/pkgs/tools/graphics/eplot/default.nix index b4dd9cd36d8..2e69bc8a263 100644 --- a/pkgs/tools/graphics/eplot/default.nix +++ b/pkgs/tools/graphics/eplot/default.nix @@ -1,7 +1,8 @@ { lib, stdenv, fetchurl, gnuplot, ruby }: stdenv.mkDerivation { - name = "eplot-2.07"; + pname = "eplot"; + version = "2.09"; # Upstream has been contacted (2015-03) regarding providing versioned # download URLs. Initial response was positive, but no action yet. @@ -20,12 +21,16 @@ stdenv.mkDerivation { dontUnpack = true; installPhase = '' + runHook preInstall + mkdir -p "$out/bin" cp "$src" "$out/bin/eplot" cp "$ecSrc" "$out/bin/ec" chmod +x "$out/bin/"* sed -i -e "s|gnuplot -persist|${gnuplot}/bin/gnuplot -persist|" "$out/bin/eplot" + + runHook postInstall ''; meta = with lib; { @@ -39,9 +44,9 @@ stdenv.mkDerivation { This package also includes the complementary 'ec' tool (say "extract column"). ''; - homepage = "http://liris.cnrs.fr/christian.wolf/software/eplot/"; + homepage = "https://perso.liris.cnrs.fr/christian.wolf/software/eplot/"; license = licenses.gpl2Plus; platforms = platforms.all; - maintainers = [ maintainers.bjornfor ]; + maintainers = with maintainers; [ bjornfor shamilton ]; }; }