git.iko.soy/typeable/nixpkgs
on master help sign in
tilix: 1.8.5 -> 1.8.9, cleanup

Decided to be more juidical than #53532 as switching to meson isn't currently working out.

commitd4224f05074b6b8b44fd9bd68e12d4f55341b872 authorworldofpeace <worldofpeace@users.noreply.github.com> dateFri 25 Jan 2019, 14:42 (8 years ago) parent2edd1c8
1 file changed+9−11
pkgs/applications/misc/tilix/default.nix+9−11
pkgs/applications/misc/tilix/default.nix+9−11
@@ -1,16 +1,16 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, dmd, gnome3, dbus
22, gsettings-desktop-schemas, desktop-file-utils, gettext, gtkd, libsecret
3−, perlPackages, wrapGAppsHook, xdg_utils }:
3+, glib, perlPackages, wrapGAppsHook, xdg_utils }:
44
55stdenv.mkDerivation rec {
6− name = "tilix-${version}";
7− version = "1.8.5";
6+ pname = "tilix";
7+ version = "1.8.9";
88
99 src = fetchFromGitHub {
1010 owner = "gnunn1";
1111 repo = "tilix";
12− rev = "${version}";
13− sha256 = "1ixhkssz0xn3x75n2iw6gd3hka6bgmgwfgbvblbjhhx8gcpbw3s7";
12+ rev = version;
13+ sha256 = "1l1ib3g01mxiywbwjxc2522qgjy3ymjzy8bxl42k0hprpp95rw9d";
1414 };
1515
1616 nativeBuildInputs = [
@@ -25,22 +25,20 @@ stdenv.mkDerivation rec {
2525 )
2626 '';
2727
28− postInstall = with gnome3; ''
28+ postInstall = ''
2929 ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
30−
31− wrapProgram $out/bin/tilix \
32− --prefix LD_LIBRARY_PATH ":" "${libsecret}/lib"
3330 '';
3431
35−
3632 preFixup = ''
33+ gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH ":" "${libsecret}/lib")
34+
3735 substituteInPlace $out/share/applications/com.gexperts.Tilix.desktop \
3836 --replace "Exec=tilix" "Exec=$out/bin/tilix"
3937 sed -i '/^DBusActivatable=/d' $out/share/applications/com.gexperts.Tilix.desktop
4038 '';
4139
4240 meta = with stdenv.lib; {
43− description = "Tiling terminal emulator following the Gnome Human Interface Guidelines.";
41+ description = "Tiling terminal emulator following the Gnome Human Interface Guidelines";
4442 homepage = https://gnunn1.github.io/tilix-web;
4543 license = licenses.mpl20;
4644 maintainers = with maintainers; [ midchildan ];