grc: 1.12 -> 1.13

This commit is contained in:
AndersonTorres 2021-03-02 17:20:01 -03:00
parent f4fcfce627
commit e763719a20
2 changed files with 13 additions and 16 deletions

View File

@ -1,15 +1,15 @@
{ lib, fetchFromGitHub, python3Packages }: { lib, fetchFromGitHub, buildPythonApplication }:
python3Packages.buildPythonApplication rec { buildPythonApplication rec {
pname = "grc"; pname = "grc";
version = "1.11.3"; version = "1.12";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "garabik"; owner = "garabik";
repo = "grc"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0b3wx9zr7l642hizk93ysbdss7rfymn22b2ykj4kpkf1agjkbv35"; sha256 = "sha256-XJj1j6sDt0iL3U6uMbB1j0OfpXRdP+x66gc6sKxrQIA=";
}; };
postPatch = '' postPatch = ''
@ -21,23 +21,20 @@ python3Packages.buildPythonApplication rec {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
./install.sh "$out" "$out" ./install.sh "$out" "$out"
install -Dm444 -t $out/share/zsh/vendor-completions _grc install -Dm444 -t $out/share/zsh/vendor-completions _grc
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
description = "Yet another colouriser for beautifying your logfiles or output of commands"; homepage = "http://korpus.juls.savba.sk/~garabik/software/grc.html";
homepage = "http://korpus.juls.savba.sk/~garabik/software/grc.html"; description = "A generic text colouriser";
license = licenses.gpl2;
maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ];
platforms = platforms.unix;
longDescription = '' longDescription = ''
Generic Colouriser is yet another colouriser (written in Python) for Generic Colouriser is yet another colouriser (written in Python) for
beautifying your logfiles or output of commands. beautifying your logfiles or output of commands.
''; '';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ];
platforms = platforms.unix;
}; };
} }

View File

@ -1344,7 +1344,7 @@ in
gucci = callPackage ../tools/text/gucci { }; gucci = callPackage ../tools/text/gucci { };
grc = callPackage ../tools/misc/grc { }; grc = python3Packages.callPackage ../tools/misc/grc { };
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer { green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
SDL = SDL_sixel; SDL = SDL_sixel;