2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-08-07 16:16:44 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-07 16:16:44 +00:00
|
|
|
, dmd
|
2019-11-30 23:11:47 +00:00
|
|
|
, dconf
|
2019-08-07 16:16:44 +00:00
|
|
|
, dbus
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, desktop-file-utils
|
|
|
|
, gettext
|
|
|
|
, gtkd
|
|
|
|
, libsecret
|
|
|
|
, glib
|
|
|
|
, wrapGAppsHook
|
|
|
|
, libunwind
|
|
|
|
}:
|
2017-06-08 08:22:21 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-01-25 19:42:52 +00:00
|
|
|
pname = "tilix";
|
2019-10-07 18:33:49 +00:00
|
|
|
version = "unstable-2019-10-02";
|
2017-06-08 08:22:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnunn1";
|
|
|
|
repo = "tilix";
|
2019-10-07 18:33:49 +00:00
|
|
|
rev = "ffcd31e3c0e1a560ce89468152d8726065e8fb1f";
|
|
|
|
sha256 = "1bzv7xiqhyblz1rw8ln4zpspmml49vnshn1zsv9di5q7kfgpqrgq";
|
2017-06-08 08:22:21 +00:00
|
|
|
};
|
|
|
|
|
2019-08-07 16:16:44 +00:00
|
|
|
# Default upstream else LDC fails to link
|
|
|
|
mesonBuildType = [
|
|
|
|
"debugoptimized"
|
|
|
|
];
|
|
|
|
|
2017-06-08 08:22:21 +00:00
|
|
|
nativeBuildInputs = [
|
2019-08-07 16:16:44 +00:00
|
|
|
desktop-file-utils
|
|
|
|
dmd
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-07 16:16:44 +00:00
|
|
|
python3
|
2017-06-08 08:22:21 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2019-03-30 21:35:41 +00:00
|
|
|
|
2019-08-07 16:16:44 +00:00
|
|
|
buildInputs = [
|
|
|
|
dbus
|
|
|
|
gettext
|
2019-11-30 23:11:47 +00:00
|
|
|
dconf
|
2019-08-07 16:16:44 +00:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtkd
|
|
|
|
libsecret
|
|
|
|
libunwind
|
|
|
|
];
|
2017-06-08 08:22:21 +00:00
|
|
|
|
2019-08-07 16:16:44 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
2017-06-08 08:22:21 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
substituteInPlace $out/share/applications/com.gexperts.Tilix.desktop \
|
|
|
|
--replace "Exec=tilix" "Exec=$out/bin/tilix"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-01-25 19:42:52 +00:00
|
|
|
description = "Tiling terminal emulator following the Gnome Human Interface Guidelines";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gnunn1.github.io/tilix-web";
|
2017-12-05 22:20:11 +00:00
|
|
|
license = licenses.mpl20;
|
2019-08-07 16:16:44 +00:00
|
|
|
maintainers = with maintainers; [ midchildan worldofpeace ];
|
2017-06-08 08:22:21 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|