ivyterm: 0-unstable-2024-10-23 > 1.0.0 (#366885)

This commit is contained in:
Gaétan Lepage
2024-12-21 22:52:05 +01:00
committed by GitHub
+19 -15
View File
@@ -4,27 +4,25 @@
fetchFromGitHub,
pkg-config,
wrapGAppsHook4,
cairo,
gdk-pixbuf,
glib,
gtk4,
libadwaita,
pango,
vte-gtk4,
openssl,
nix-update-script,
}:
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage rec {
pname = "ivyterm";
version = "0-unstable-2024-10-23";
version = "1.0.0";
src = fetchFromGitHub {
owner = "Tomiyou";
repo = "ivyterm";
rev = "13ee76dfc88bc92807e328991c7a8586a5b13ac7";
hash = "sha256-RVHGDgaNYhR/eGTu4bhJvEfd14qFP+u8ApItVc00Bm8=";
tag = "v${version}";
hash = "sha256-2wOTUJRFtT7lJ8Km7J7qT6CIRi7wZmNAp1UHfrksyss=";
};
cargoHash = "sha256-tdaI0diwRjqERmAiuKFhMw4AeqxgMq8YMsZWBjsmd0U=";
useFetchCargoVendor = true;
cargoHash = "sha256-SyyXpV4BfXFm5SHsrXHVNXFm8xM1gBv9lBRXuHVN+lQ=";
nativeBuildInputs = [
pkg-config
@@ -32,18 +30,24 @@ rustPlatform.buildRustPackage {
];
buildInputs = [
cairo
gdk-pixbuf
glib
gtk4
openssl
libadwaita
pango
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";