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"; + }; +})