Unverified Commit 70b70bb9 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

grc: cleanup, move to by-name (#431546)

parents 5a0edce7 6bb7ba54
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchFromGitHub,
  buildPythonApplication,
  installShellFiles,
}:

buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "grc";
  version = "1.13";
  format = "other";

  src = fetchFromGitHub {
    owner = "garabik";
    repo = pname;
    repo = "grc";
    rev = "v${version}";
    sha256 = "1h0h88h484a9796hai0wasi1xmjxxhpyxgixn6fgdyc5h69gv8nl";
  };
@@ -39,20 +39,20 @@ buildPythonApplication rec {
    runHook postInstall
  '';

  meta = with lib; {
  meta = {
    homepage = "http://kassiopeia.juls.savba.sk/~garabik/software/grc.html";
    description = "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; [
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [
      azahi
      lovek323
      peterhoeg
    ];
    platforms = platforms.unix;
    platforms = lib.platforms.unix;
    mainProgram = "grc";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -1721,8 +1721,6 @@ with pkgs;

  guglielmo = libsForQt5.callPackage ../applications/radio/guglielmo { };

  grc = python3Packages.callPackage ../tools/misc/grc { };

  gremlin-console = callPackage ../applications/misc/gremlin-console {
    openjdk = openjdk11;
  };