From f14dd36bf0c2ea1990cf2de3955c3a82d065c648 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Mon, 14 Sep 2026 16:23:00 -0400 Subject: [PATCH] rustfs-cli: init at 0.1.35 Assisted-By: nix-init --- pkgs/by-name/ru/rustfs-cli/package.nix | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/ru/rustfs-cli/package.nix diff --git a/pkgs/by-name/ru/rustfs-cli/package.nix b/pkgs/by-name/ru/rustfs-cli/package.nix new file mode 100644 index 000000000000..aa848e32f661 --- /dev/null +++ b/pkgs/by-name/ru/rustfs-cli/package.nix @@ -0,0 +1,38 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rustfs-cli"; + version = "0.1.35"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "rustfs"; + repo = "cli"; + tag = "v${finalAttrs.version}"; + hash = "sha256-KLFQxoQfIvXHmO6gUCV4c9xM10svYhjThZ15Ja47E04="; + }; + + cargoHash = "sha256-gP4f3L6t0FAUAISG20GG07wYCQ8AmogMWaQ15pyvAfY="; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A S3-compatible command-line client written in Rust"; + homepage = "https://github.com/rustfs/cli"; + changelog = "https://github.com/rustfs/cli/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.OR [ + lib.licenses.asl20 + lib.licenses.mit + ]; + maintainers = with lib.maintainers; [ + marcel + adamcstephens + ]; + mainProgram = "rc"; + }; +})