From 390455cdecac28c439b75c73f0d9f17a3f077926 Mon Sep 17 00:00:00 2001 From: LeFaucheur0769 Date: Mon, 16 Feb 2026 14:49:22 +0100 Subject: [PATCH] rustfetch: init at 0.2.0 rustfetch: init at 0.2.0 Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: Yohann Boniface Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: Yohann Boniface Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: mana-byte <93316844+mana-byte@users.noreply.github.com> Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: mana-byte <93316844+mana-byte@users.noreply.github.com> Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: mana-byte <93316844+mana-byte@users.noreply.github.com> Fix changelog URL formatting in package.nix Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: mana-byte <93316844+mana-byte@users.noreply.github.com> Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: mana-byte <93316844+mana-byte@users.noreply.github.com> Update pkgs/by-name/ru/rustfetch/package.nix Co-authored-by: mana-byte <93316844+mana-byte@users.noreply.github.com> --- pkgs/by-name/ru/rustfetch/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ru/rustfetch/package.nix diff --git a/pkgs/by-name/ru/rustfetch/package.nix b/pkgs/by-name/ru/rustfetch/package.nix new file mode 100644 index 000000000000..a79134cb102e --- /dev/null +++ b/pkgs/by-name/ru/rustfetch/package.nix @@ -0,0 +1,27 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rustfetch"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "lemuray"; + repo = "rustfetch"; + tag = "v${finalAttrs.version}"; + hash = "sha256-iGcxDKl36kbEi+OiH4gB2+HxP37bpqAMZguIXDzq3Jw="; + }; + cargoHash = "sha256-87wfFczmgCft4ke/RQKi54wvqFKGRJMtqhkwQgDCedg="; + + meta = { + description = "CLI tool designed to fetch system information in the fastest and safest way possible"; + homepage = "https://github.com/lemuray/rustfetch"; + changelog = "https://github.com/lemuray/rustfetch/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ lefaucheur0769 ]; + mainProgram = "rustfetch"; + }; +})