From 0480c371b2a545ab55b92ac337471a14d721ec50 Mon Sep 17 00:00:00 2001 From: Franta Bartik Date: Fri, 22 May 2026 10:31:20 -0400 Subject: [PATCH] rura: init at 1.3.0 Updated to 1.2.0 Upgrade to 1.3.0 --- pkgs/by-name/ru/rura/package.nix | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/ru/rura/package.nix diff --git a/pkgs/by-name/ru/rura/package.nix b/pkgs/by-name/ru/rura/package.nix new file mode 100644 index 000000000000..793aef7442a1 --- /dev/null +++ b/pkgs/by-name/ru/rura/package.nix @@ -0,0 +1,38 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, + testers, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rura"; + version = "1.3.0"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "tlipinski"; + repo = "rura"; + tag = "v${finalAttrs.version}"; + hash = "sha256-cwL3Dw1qPYcKFzy0CV/XI7jZWHZZoZumdbB2kK+9jdc="; + }; + + cargoHash = "sha256-T/7v1WxTfsilw5i592EoRWxpkaL4bnluXmCModO1WQg="; + + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + }; + + meta = { + description = "Interactive TUI scratchpad for building shell pipelines"; + homepage = "https://github.com/tlipinski/rura"; + changelog = "https://github.com/tlipinski/rura/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ frantathefranta ]; + mainProgram = "rura"; + }; +})