From c729207d71dbd6ebd5344bed65d5e2ecd7aa07c7 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Tue, 5 Nov 2024 19:22:34 +0800 Subject: [PATCH] cargo-gra: init at 0.6.0 --- pkgs/by-name/ca/cargo-gra/package.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/by-name/ca/cargo-gra/package.nix diff --git a/pkgs/by-name/ca/cargo-gra/package.nix b/pkgs/by-name/ca/cargo-gra/package.nix new file mode 100644 index 00000000000000..923209dc027621 --- /dev/null +++ b/pkgs/by-name/ca/cargo-gra/package.nix @@ -0,0 +1,25 @@ +{ + rustPlatform, + fetchCrate, + lib, +}: + +rustPlatform.buildRustPackage rec { + pname = "cargo-gra"; + version = "0.6.0"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-cli7qaIVYvoZpDml/QAxm2vjvh/g28zlDSpU9IIUBfw="; + }; + + cargoHash = "sha256-xsaavcpDaiDDbL3Dl+7NLcfB5U6vuYsVPoIuA/KXCvI="; + + meta = { + license = lib.licenses.gpl3Plus; + homepage = "https://gitlab.com/floers/gtk-stuff/cargo-gra/"; + maintainers = with lib.maintainers; [ bot-wxt1221 ]; + platform = lib.platforms.unix; + description = "gtk-rust-app cli for building flatpak apps with ease"; + }; +}