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";
version = "1.11.3";
version = "1.12";
format = "other";
src = fetchFromGitHub {
owner = "garabik";
repo = "grc";
rev = "v${version}";
sha256 = "0b3wx9zr7l642hizk93ysbdss7rfymn22b2ykj4kpkf1agjkbv35";
owner = "garabik";
repo = pname;
rev = "v${version}";
sha256 = "sha256-XJj1j6sDt0iL3U6uMbB1j0OfpXRdP+x66gc6sKxrQIA=";
};
postPatch = ''
@ -21,23 +21,20 @@ python3Packages.buildPythonApplication rec {
installPhase = ''
runHook preInstall
./install.sh "$out" "$out"
install -Dm444 -t $out/share/zsh/vendor-completions _grc
runHook postInstall
'';
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";
license = licenses.gpl2;
maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ];
platforms = platforms.unix;
homepage = "http://korpus.juls.savba.sk/~garabik/software/grc.html";
description = "A generic text colouriser";
longDescription = ''
Generic Colouriser is yet another colouriser (written in Python) for
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 { };
grc = callPackage ../tools/misc/grc { };
grc = python3Packages.callPackage ../tools/misc/grc { };
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
SDL = SDL_sixel;