From 4eff05607ceee9ffafd9f9d22d84db619a7bd95c Mon Sep 17 00:00:00 2001 From: genga Date: Wed, 23 Oct 2024 20:09:43 +0300 Subject: [PATCH] ivyterm: init at unstable-2024-10-23 ivyterm: update ivyterm: update cargoHash and rev ivyterm: remove doCheckInstall --- pkgs/by-name/iv/ivyterm/package.nix | 51 +++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 pkgs/by-name/iv/ivyterm/package.nix diff --git a/pkgs/by-name/iv/ivyterm/package.nix b/pkgs/by-name/iv/ivyterm/package.nix new file mode 100644 index 0000000000000..7fe42f201b93c --- /dev/null +++ b/pkgs/by-name/iv/ivyterm/package.nix @@ -0,0 +1,51 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + wrapGAppsHook4, + cairo, + gdk-pixbuf, + glib, + gtk4, + libadwaita, + pango, + vte-gtk4, +}: + +rustPlatform.buildRustPackage { + pname = "ivyterm"; + version = "0-unstable-2024-10-23"; + + src = fetchFromGitHub { + owner = "Tomiyou"; + repo = "ivyterm"; + rev = "13ee76dfc88bc92807e328991c7a8586a5b13ac7"; + hash = "sha256-vxDJwA+ZM3ROX9d1+o3cXj4LbaO9Wy5jFAVuAPOzCCI="; + }; + + cargoHash = "sha256-tdaI0diwRjqERmAiuKFhMw4AeqxgMq8YMsZWBjsmd0U="; + + nativeBuildInputs = [ + pkg-config + wrapGAppsHook4 + ]; + + buildInputs = [ + cairo + gdk-pixbuf + glib + gtk4 + libadwaita + pango + vte-gtk4 + ]; + + meta = { + description = "Terminal emulator implemented in gtk4-rs and VTE4"; + homepage = "https://github.com/Tomiyou/ivyterm"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ genga898 ]; + mainProgram = "ivyterm"; + }; +}