diff options
author | Elis Hirwing <elis@hirwing.se> | 2017-09-17 15:32:51 +0200 |
---|---|---|
committer | Joerg Thalheim <joerg@thalheim.io> | 2017-09-26 07:43:10 +0100 |
commit | 95f3e6ca320556e8ced5582fd0ca46d726282ade (patch) | |
tree | fdb352e47e8f282884dd70bfaac1d9f48e3a24e9 /pkgs/applications/misc/stupidterm/default.nix | |
parent | 430869ba3bf37d3a557b4a03208362b0dde549a6 (diff) |
stupidterm: init at 2017-03-15
Stupidterm is a simple and fast VTE-Based terminal emulator which is configured by a simple ini-file. fixes #29779
Diffstat (limited to 'pkgs/applications/misc/stupidterm/default.nix')
-rw-r--r-- | pkgs/applications/misc/stupidterm/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/misc/stupidterm/default.nix b/pkgs/applications/misc/stupidterm/default.nix new file mode 100644 index 0000000000000..5701997fd299e --- /dev/null +++ b/pkgs/applications/misc/stupidterm/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, pkgconfig, vte, gtk }: + +stdenv.mkDerivation rec { + name = "stupidterm-2017-03-15"; + + nativeBuildInputs = [ pkgconfig ]; + + buildInputs = [ vte gtk ]; + + src = fetchFromGitHub { + owner = "esmil"; + repo = "stupidterm"; + rev = "752316a783f52317ffd9f05d32e208dbcafc5ba6"; + sha256 = "1d8fyhr9sgpxgkwzkyiws0kvhmqfwwyycvcr1qf2wjldiax222lv"; + }; + + makeFlags = "PKGCONFIG=${pkgconfig}/bin/pkg-config binary=stupidterm"; + + installPhase = '' + mkdir -p $out/bin $out/share/applications $out/share/stupidterm + cp stupidterm $out/bin + substituteAll ${./stupidterm.desktop} $out/share/applications/stupidterm.desktop + substituteAll stupidterm.ini $out/share/stupidterm/stupidterm.ini + ''; + + meta = with stdenv.lib; { + description = "Simple wrapper around the VTE terminal emulator widget for GTK+"; + longDescription = '' + Simple wrapper around the VTE terminal emulator widget for GTK+ + ''; + homepage = https://github.com/esmil/stupidterm; + license = licenses.lgpl3Plus; + maintainers = [ maintainers.etu ]; + platforms = platforms.linux; + }; +} |