Files
nixpkgs/pkgs/by-name/iv/ivyterm/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

55 lines
1.1 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
wrapGAppsHook4,
libadwaita,
vte-gtk4,
openssl,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "ivyterm";
version = "1.0.5";
src = fetchFromGitHub {
owner = "Tomiyou";
repo = "ivyterm";
tag = "v${version}";
hash = "sha256-Xr4oXg+kZPDImY7BlKUHwgi5AtCArH1vf3+s117luTQ=";
};
cargoHash = "sha256-aBo+IAM+tAzUazw9XE80EACWyQtDIQjm33Q20p49L5s=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
openssl
libadwaita
vte-gtk4
];
postInstall = ''
install -D data/com.tomiyou.ivyTerm.desktop -t $out/share/applications
install -D data/com.tomiyou.ivyTerm.svg -t $out/share/icons
'';
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Terminal emulator implemented in gtk4-rs and VTE4";
homepage = "https://github.com/Tomiyou/ivyterm";
changelog = "https://github.com/Tomiyou/ivyterm/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "ivyterm";
};
}