diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-06-10 10:31:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 10:31:08 +0100 |
commit | 800d525ac444d9793243690ed1b76f993e6ceb01 (patch) | |
tree | 2a1fc63985276489d93e04e3ddfd8d85aa33ff0c /pkgs/applications/misc | |
parent | 661ec1950dc89870e4e5dde29fe0716809400ee1 (diff) | |
parent | 54b23e605c338be644f7d8bb868ae15308057d42 (diff) | |
download | nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.tar nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.tar.gz nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.tar.bz2 nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.tar.lz nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.tar.xz nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.tar.zst nixlib-800d525ac444d9793243690ed1b76f993e6ceb01.zip |
Merge pull request #26349 from midchildan/tilix
tilix: init at 1.5.8
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/tilix/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tilix/default.nix b/pkgs/applications/misc/tilix/default.nix new file mode 100644 index 000000000000..df253b3b4ceb --- /dev/null +++ b/pkgs/applications/misc/tilix/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, dmd, gnome3, dbus +, gsettings_desktop_schemas, libsecret, desktop_file_utils, gettext, gtkd +, perlPackages, wrapGAppsHook, xdg_utils }: + +stdenv.mkDerivation rec { + name = "tilix-${version}"; + version = "1.6.1"; + + src = fetchFromGitHub { + owner = "gnunn1"; + repo = "tilix"; + rev = "${version}"; + sha256 = "10nw3q6s941dm44bkfryl1xclr1xy1vjr2n8w7g6kfahpcazf8f8"; + }; + + nativeBuildInputs = [ + autoreconfHook dmd desktop_file_utils perlPackages.Po4a pkgconfig xdg_utils + wrapGAppsHook + ]; + buildInputs = [ gnome3.dconf gettext gsettings_desktop_schemas gtkd dbus ]; + + preBuild = '' + makeFlagsArray=(PERL5LIB="${perlPackages.Po4a}/lib/perl5") + ''; + + postInstall = with gnome3; '' + ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas + ''; + + + 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"; + licence = licenses.mpl20; + maintainer = with maintainers; [ midchildan ]; + platforms = platforms.linux; + }; +} |