From 4639e68fd1fcc3f4fa63e3b67f659ac1607a90fe Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 26 Apr 2017 22:44:57 +0800 Subject: [PATCH] grc: 1.10.1 -> 1.11 --- pkgs/tools/misc/grc/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/grc/default.nix b/pkgs/tools/misc/grc/default.nix index 5fcde9bdaeb7..aafb865cfac8 100644 --- a/pkgs/tools/misc/grc/default.nix +++ b/pkgs/tools/misc/grc/default.nix @@ -2,18 +2,20 @@ stdenv.mkDerivation rec { name = "grc-${version}"; - version = "1.10.1"; + version = "1.11"; src = fetchFromGitHub { owner = "garabik"; repo = "grc"; rev = "v${version}"; - sha256 = "1c2ndnbyznb608h3s99fbcyh4qb1ccipxm15lyszrrks0w2llbah"; + sha256 = "0slxkjg8xf5rg5pqgh4g2p1qxr5m9f6ds7zg7vh2xqzkmwqv18kp"; }; buildInputs = with python3Packages; [ wrapPython makeWrapper ]; installPhase = '' + runHook preInstall + ./install.sh "$out" "$out" for f in $out/bin/* ; do @@ -25,13 +27,15 @@ stdenv.mkDerivation rec { wrapProgram $f \ --prefix PATH : $out/bin done + + runHook postInstall ''; meta = with stdenv.lib; { description = "Yet another colouriser for beautifying your logfiles or output of commands"; homepage = http://korpus.juls.savba.sk/~garabik/software/grc.html; license = licenses.gpl2; - maintainers = with maintainers; [ lovek323 AndersonTorres ]; + maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ]; platforms = platforms.unix; longDescription = ''