about summary refs log tree commit diff
path: root/pkgs/applications/radio/grig
diff options
context:
space:
mode:
authorMatt Melling <mattmelling@fastmail.com>2022-12-30 22:56:50 +0000
committerMatt Melling <mattmelling@fastmail.com>2023-01-12 22:39:27 +0000
commit0eece73358dee8031e07be7ee17b42e84e9715f1 (patch)
treee558997ff4cdb11c3791cd8755c3d14276db3cac /pkgs/applications/radio/grig
parent6b76178bd391d0bbfcff9fe7148396e7d2d731c1 (diff)
grig: init at 0.9.0
Diffstat (limited to 'pkgs/applications/radio/grig')
-rw-r--r--pkgs/applications/radio/grig/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/radio/grig/default.nix b/pkgs/applications/radio/grig/default.nix
new file mode 100644
index 0000000000000..33ae8b8ff88bf
--- /dev/null
+++ b/pkgs/applications/radio/grig/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+, wrapGAppsHook
+, gtk2
+, hamlib_4 }:
+
+stdenv.mkDerivation rec {
+  pname = "grig";
+  version = "0.9.0";
+
+  src = fetchFromGitHub {
+    owner = "fillods";
+    repo = "grig";
+    rev = "GRIG-${lib.replaceStrings ["."] ["_"] version}";
+    sha256 = "sha256-OgIgHW9NMW/xSSti3naIR8AQWUtNSv5bYdOcObStBlM=";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
+  buildInputs = [ hamlib_4 gtk2 ];
+
+  meta = with lib; {
+    description = "A simple Ham Radio control (CAT) program based on Hamlib";
+    longDescription = ''
+      Grig is a graphical user interface for the Ham Radio Control Libraries.
+      It is intended to be simple and generic, presenting the user with the
+      same interface regardless of which radio they use.
+    '';
+    homepage = "https://groundstation.sourceforge.net/grig/";
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ melling ];
+  };
+}