2024-02-09 21:14:56 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-07 16:16:44 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2021-03-06 15:47:01 +00:00
|
|
|
, ldc
|
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
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2019-08-07 16:16:44 +00:00
|
|
|
, libunwind
|
2021-03-06 15:47:01 +00:00
|
|
|
, appstream
|
2020-11-13 18:54:56 +00:00
|
|
|
, nixosTests
|
2019-08-07 16:16:44 +00:00
|
|
|
}:
|
2017-06-08 08:22:21 +00:00
|
|
|
|
2024-02-09 21:14:56 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-01-25 19:42:52 +00:00
|
|
|
pname = "tilix";
|
2024-02-09 21:31:27 +00:00
|
|
|
version = "1.9.6";
|
2017-06-08 08:22:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnunn1";
|
|
|
|
repo = "tilix";
|
2024-02-09 21:14:56 +00:00
|
|
|
rev = finalAttrs.version;
|
2024-02-09 21:31:27 +00:00
|
|
|
hash = "sha256-KP0ojwyZ5FaYKW0nK9mGGAiz1h+gTbfjCUDCgN2LAO8=";
|
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
|
2021-03-06 15:47:01 +00:00
|
|
|
ldc
|
2019-08-07 16:16:44 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-07 16:16:44 +00:00
|
|
|
python3
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2021-03-06 15:47:01 +00:00
|
|
|
appstream
|
2017-06-08 08:22:21 +00:00
|
|
|
];
|
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
|
|
|
'';
|
|
|
|
|
2020-11-13 18:54:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.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;
|
2024-02-09 21:12:52 +00:00
|
|
|
maintainers = with maintainers; [ midchildan jtbx ];
|
2017-06-08 08:22:21 +00:00
|
|
|
platforms = platforms.linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "tilix";
|
2017-06-08 08:22:21 +00:00
|
|
|
};
|
2024-02-09 21:14:56 +00:00
|
|
|
})
|