diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-10-27 22:38:58 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-10-28 10:22:39 -0300 |
commit | 2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997 (patch) | |
tree | 23f671aff1d1de5a1530a39004fc373e045a4504 /pkgs/applications/terminal-emulators/tilix | |
parent | c3feda093d342da8f12ac710f64ac341812bb455 (diff) | |
download | nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.tar nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.tar.gz nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.tar.bz2 nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.tar.lz nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.tar.xz nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.tar.zst nixpkgs-2bb3a9da24ca60d9f5bed69f679a1ec50dbdf997.zip |
A directory-category for terminal emulators
This is a mostly cosmetical commit, in the sense it doesn't change the contents of any package, but reorganizes the overall Nixpkgs expressions. Terminal emulators are an ubiquitous tool for any Unix user; even the beginners are routinely familiarized to it. And, manifestly, there are many implementations of terminal emulators out there, from those traditionally made in C and C++ to those written in Haskell and Go. Terminal emulators deserve more highlight. This commit does that by creating a category for them.
Diffstat (limited to 'pkgs/applications/terminal-emulators/tilix')
-rw-r--r-- | pkgs/applications/terminal-emulators/tilix/default.nix | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/pkgs/applications/terminal-emulators/tilix/default.nix b/pkgs/applications/terminal-emulators/tilix/default.nix new file mode 100644 index 00000000000..4707685e3da --- /dev/null +++ b/pkgs/applications/terminal-emulators/tilix/default.nix @@ -0,0 +1,74 @@ +{ stdenv +, fetchFromGitHub +, fetchpatch +, meson +, ninja +, python3 +, pkgconfig +, dmd +, dconf +, dbus +, gsettings-desktop-schemas +, desktop-file-utils +, gettext +, gtkd +, libsecret +, glib +, wrapGAppsHook +, libunwind +}: + +stdenv.mkDerivation { + pname = "tilix"; + version = "unstable-2019-10-02"; + + src = fetchFromGitHub { + owner = "gnunn1"; + repo = "tilix"; + rev = "ffcd31e3c0e1a560ce89468152d8726065e8fb1f"; + sha256 = "1bzv7xiqhyblz1rw8ln4zpspmml49vnshn1zsv9di5q7kfgpqrgq"; + }; + + # Default upstream else LDC fails to link + mesonBuildType = [ + "debugoptimized" + ]; + + nativeBuildInputs = [ + desktop-file-utils + dmd + meson + ninja + pkgconfig + python3 + wrapGAppsHook + ]; + + buildInputs = [ + dbus + gettext + dconf + gsettings-desktop-schemas + gtkd + libsecret + libunwind + ]; + + postPatch = '' + chmod +x meson_post_install.py + patchShebangs meson_post_install.py + ''; + + preFixup = '' + substituteInPlace $out/share/applications/com.gexperts.Tilix.desktop \ + --replace "Exec=tilix" "Exec=$out/bin/tilix" + ''; + + meta = with stdenv.lib; { + description = "Tiling terminal emulator following the Gnome Human Interface Guidelines"; + homepage = "https://gnunn1.github.io/tilix-web"; + license = licenses.mpl20; + maintainers = with maintainers; [ midchildan worldofpeace ]; + platforms = platforms.linux; + }; +} |