From 3dabcae4c36bc10eecf4a30b4240808ab5a03122 Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 8 May 2026 23:51:15 +0100 Subject: [PATCH] anda: init at 0.5.4 --- pkgs/by-name/an/anda/package.nix | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pkgs/by-name/an/anda/package.nix diff --git a/pkgs/by-name/an/anda/package.nix b/pkgs/by-name/an/anda/package.nix new file mode 100644 index 000000000000..e91fa0e1f19a --- /dev/null +++ b/pkgs/by-name/an/anda/package.nix @@ -0,0 +1,46 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + libgit2, + openssl, + zlib, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "anda"; + version = "0.5.4"; + + src = fetchFromGitHub { + owner = "FyraLabs"; + repo = "anda"; + tag = finalAttrs.version; + hash = "sha256-z+oYerTP0xJ4QuHtB7uH2nTVEqFsGb2FTpk2wNpMZKU="; + }; + + cargoHash = "sha256-uoDAfsHIAJsgcMljDqCHwaHvfVZYok2GsuG8y7N0NAg="; + + __structuredAttrs = true; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + libgit2 + openssl + zlib + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A modern Build/CI System"; + homepage = "https://github.com/FyraLabs/anda"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ isabelroses ]; + mainProgram = "anda"; + }; +})