summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/terminal-emulators/germinal
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-01-06 12:19:47 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-01-06 14:37:38 -0300
commitffe372b35699722a0df339d7a5479fcc5567c369 (patch)
tree6b08c9e2eb071489ce8b8cdb7f6fbc42ca33e806 /pkgs/applications/terminal-emulators/germinal
parent4746e1717f082663813861046c2774f395402bda (diff)
germinal: init at 26
Diffstat (limited to 'pkgs/applications/terminal-emulators/germinal')
-rw-r--r--pkgs/applications/terminal-emulators/germinal/default.nix55
1 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/applications/terminal-emulators/germinal/default.nix b/pkgs/applications/terminal-emulators/germinal/default.nix
new file mode 100644
index 000000000000..b44e48fafae9
--- /dev/null
+++ b/pkgs/applications/terminal-emulators/germinal/default.nix
@@ -0,0 +1,55 @@
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+, appstream-glib
+, dbus
+, pango
+, pcre2
+, tmux
+, vte
+, wrapGAppsHook
+}:
+
+stdenv.mkDerivation rec {
+ pname = "germinal";
+ version = "26";
+
+ src = fetchFromGitHub {
+ owner = "Keruspe";
+ repo = "Germinal";
+ rev = "v${version}";
+ sha256 = "sha256-HUi+skF4bJj5CY2cNTOC4tl7jhvpXYKqBx2rqKzjlo0=";
+ };
+
+ nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
+ buildInputs = [
+ appstream-glib
+ dbus
+ pango
+ pcre2
+ vte
+ ];
+
+ configureFlags = [
+ "--with-dbusservicesdir=${placeholder "out"}/etc/dbus-1/system-services/"
+ ];
+
+ dontWrapGApps = true;
+
+ fixupPhase = ''
+ runHook preFixup
+ wrapProgram $out/bin/germinal \
+ --prefix PATH ":" "${stdenv.lib.makeBinPath [ tmux ]}" \
+ "''${gappsWrapperArgs[@]}"
+ runHook postFixup
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A minimal terminal emulator";
+ homepage = "https://github.com/Keruspe/Germinal";
+ license = with licenses; gpl3Plus;
+ platforms = with platforms; unix;
+ maintainers = with maintainers; [ AndersonTorres ];
+ };
+}