about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/gr
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/gr')
-rw-r--r--nixpkgs/pkgs/by-name/gr/graplang/package.nix35
-rw-r--r--nixpkgs/pkgs/by-name/gr/grimblast/package.nix6
-rw-r--r--nixpkgs/pkgs/by-name/gr/grmon/package.nix37
3 files changed, 75 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/by-name/gr/graplang/package.nix b/nixpkgs/pkgs/by-name/gr/graplang/package.nix
new file mode 100644
index 000000000000..aa0a74da382f
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/gr/graplang/package.nix
@@ -0,0 +1,35 @@
+{ lib
+, stdenv
+, fetchurl
+, flex
+, bison
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "graplang";
+  version = "1.46";
+
+  outputs = [ "out" "man" ];
+
+  src = fetchurl {
+    url = "https://www.lunabase.org/~faber/Vault/software/grap/grap-${finalAttrs.version}.tar.gz";
+    hash = "sha512-7n+jLANU/x+wGrpjwYAnf45fQ5M91SwraiCbvUKe6XhWtilhGoT2yTlLkPlTihETTkizLyssW5gj5gbwNHaooA==";
+  };
+
+  nativeBuildInputs = [ flex bison ];
+
+  meta = with lib; {
+    description = "Language for typesetting graphs";
+    longDescription = ''
+      Grap is an Expressive language for describing graphs and incorporating
+      them in typeset documents.  It is implemented as a preprocessor to
+      Kernigan's pic language for describing languages, so any system that can
+      use pic can use grap. For sure, TeX and groff can use it.
+    '';
+    homepage = "https://www.lunabase.org/~faber/Vault/software/grap/";
+    changelog = "https://github.com/snorerot13/grap/blob/master/CHANGES";
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ afh ];
+    mainProgram = "grap";
+  };
+})
diff --git a/nixpkgs/pkgs/by-name/gr/grimblast/package.nix b/nixpkgs/pkgs/by-name/gr/grimblast/package.nix
index c997f6205ef4..9f0d29ff74a2 100644
--- a/nixpkgs/pkgs/by-name/gr/grimblast/package.nix
+++ b/nixpkgs/pkgs/by-name/gr/grimblast/package.nix
@@ -15,13 +15,13 @@
 
 stdenvNoCC.mkDerivation (finalAttrs: {
   pname = "grimblast";
-  version = "unstable-2023-10-03";
+  version = "unstable-2024-01-11";
 
   src = fetchFromGitHub {
     owner = "hyprwm";
     repo = "contrib";
-    rev = "2e3f8ac2a3f1334fd2e211b07ed76b4215bb0542";
-    hash = "sha256-rb954Rc+IyUiiXoIuQOJRp0//zH/WeMYZ3yJ5CccODA=";
+    rev = "89c56351e48785070b60e224ea1717ac50c3befb";
+    hash = "sha256-EjdQsk5VIQs7INBugbgX1I9Q3kPAOZSwkXXqEjZL0E0=";
   };
 
   strictDeps = true;
diff --git a/nixpkgs/pkgs/by-name/gr/grmon/package.nix b/nixpkgs/pkgs/by-name/gr/grmon/package.nix
new file mode 100644
index 000000000000..d6200cc68582
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/gr/grmon/package.nix
@@ -0,0 +1,37 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+, nix-update-script
+}:
+
+buildGoModule rec {
+  pname = "grmon";
+  version = "0.1";
+
+  src = fetchFromGitHub {
+    owner = "bcicen";
+    repo = "grmon";
+    rev = "v${version}";
+    hash = "sha256-0J7f4DMADUut3Da0F1eTDsT1Hlk0rfInwzbcVcQNzg8=";
+  };
+
+  vendorHash = "sha256-ySgWEGHlEJpfB/BZuRs1bELBspEaiaX/UnJai2V/hx0=";
+
+  CGO_ENABLED = "0";
+
+  passthru = {
+    updateScript = nix-update-script { };
+  };
+
+  meta = with lib; {
+    description = "Command line monitoring for goroutines";
+    longDescription = ''
+      To use it, instrument your Go code following the
+      [usage description of the project](https://github.com/bcicen/grmon?tab=readme-ov-file#usage).
+    '';
+    homepage = "https://github.com/bcicen/grmon";
+    license = licenses.mit;
+    mainProgram = "grmon";
+    maintainers = with maintainers; [ katexochen ];
+  };
+}