Files
nixpkgs/pkgs/by-name/ge/germinal/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
appstream-glib,
autoreconfHook,
dbus,
pango,
pcre2,
pkg-config,
tmux,
vte,
wrapGAppsHook3,
nixosTests,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "germinal";
version = "26";
src = fetchFromGitHub {
owner = "Keruspe";
repo = "Germinal";
rev = "v${finalAttrs.version}";
hash = "sha256-HUi+skF4bJj5CY2cNTOC4tl7jhvpXYKqBx2rqKzjlo0=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
wrapGAppsHook3
];
buildInputs = [
appstream-glib
dbus
pango
pcre2
vte
];
configureFlags = [
"--with-dbusservicesdir=${placeholder "out"}/etc/dbus-1/system-services/"
];
dontWrapGApps = true;
fixupPhase = ''
runHook preFixup
wrapProgram $out/bin/germinal \
--prefix PATH ":" "${lib.makeBinPath [ tmux ]}" \
"''${gappsWrapperArgs[@]}"
runHook postFixup
'';
passthru.tests.test = nixosTests.terminal-emulators.germinal;
meta = {
description = "Minimal terminal emulator";
homepage = "https://github.com/Keruspe/Germinal";
license = lib.licenses.gpl3Plus;
mainProgram = "germinal";
maintainers = [ ];
platforms = lib.platforms.unix;
};
})