nixpkgs/pkgs/by-name/ti/tilix/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.3 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, python3
, pkg-config
, ldc
2019-11-30 23:11:47 +00:00
, dconf
, dbus
, gsettings-desktop-schemas
, desktop-file-utils
, gettext
, gtkd
, libsecret
, wrapGAppsHook3
, libunwind
, appstream
, nixosTests
}:
2017-06-08 08:22:21 +00:00
stdenv.mkDerivation (finalAttrs: {
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";
rev = finalAttrs.version;
2024-02-09 21:31:27 +00:00
hash = "sha256-KP0ojwyZ5FaYKW0nK9mGGAiz1h+gTbfjCUDCgN2LAO8=";
2017-06-08 08:22:21 +00:00
};
# Default upstream else LDC fails to link
mesonBuildType = [
"debugoptimized"
];
2017-06-08 08:22:21 +00:00
nativeBuildInputs = [
desktop-file-utils
ldc
meson
ninja
pkg-config
python3
wrapGAppsHook3
appstream
2017-06-08 08:22:21 +00:00
];
buildInputs = [
dbus
gettext
2019-11-30 23:11:47 +00:00
dconf
gsettings-desktop-schemas
gtkd
libsecret
libunwind
];
2017-06-08 08:22:21 +00:00
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
2017-06-08 08:22:21 +00:00
'';
passthru.tests.test = nixosTests.terminal-emulators.tilix;
meta = with lib; {
description = "Tiling terminal emulator following the Gnome Human Interface Guidelines";
homepage = "https://gnunn1.github.io/tilix-web";
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
};
})