about summary refs log tree commit diff
path: root/pkgs/tools/misc/gtkterm
diff options
context:
space:
mode:
authorMichal Sojka <michal.sojka@cvut.cz>2022-03-10 17:56:41 +0100
committerMichal Sojka <michal.sojka@cvut.cz>2022-03-10 21:07:36 +0100
commit14f5d22b4e17b70e78a2e03fb76e7b72ae91098f (patch)
treed0a5d18b8681ec2fa902ffe77cada56e7b55b475 /pkgs/tools/misc/gtkterm
parent062a0c5437b68f950b081bbfc8a699d57a4ee026 (diff)
gtkterm: init at 1.1.1
Diffstat (limited to 'pkgs/tools/misc/gtkterm')
-rw-r--r--pkgs/tools/misc/gtkterm/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/tools/misc/gtkterm/default.nix b/pkgs/tools/misc/gtkterm/default.nix
new file mode 100644
index 0000000000000..08e5385288bb9
--- /dev/null
+++ b/pkgs/tools/misc/gtkterm/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, gtk3, vte, libgudev, wrapGAppsHook }:
+
+stdenv.mkDerivation rec {
+  pname = "gtkterm";
+  version = "1.1.1";
+
+  src = fetchFromGitHub {
+    owner = "Jeija";
+    repo = "gtkterm";
+    rev = "${version}";
+    sha256 = "0s2cx8w1n8d37pl80gll5h6dyvbqrfcam8l4wmvnqqww9jml6577";
+  };
+
+  nativeBuildInputs = [
+    meson
+    ninja
+    pkg-config
+    wrapGAppsHook
+  ];
+
+  buildInputs = [
+    gtk3
+    vte
+    libgudev
+  ];
+
+  meta = with lib; {
+    description = "A simple, graphical serial port terminal emulator";
+    homepage = "https://github.com/Jeija/gtkterm";
+    license = licenses.gpl3Plus;
+    longDescription = ''
+      GTKTerm is a simple, graphical serial port terminal emulator for
+      Linux and possibly other POSIX-compliant operating systems. It
+      can be used to communicate with all kinds of devices with a
+      serial interface, such as embedded computers, microcontrollers,
+      modems, GPS receivers, CNC machines and more.
+    '';
+    maintainers = with maintainers; [ wentasah ];
+    platforms = platforms.linux;
+    mainProgram = "gtkterm";
+  };
+}