Files
nixpkgs/pkgs/by-name/an/anda/package.nix
2026-09-16 10:51:33 +00:00

47 lines
852 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
openssl,
zlib,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "anda";
version = "0.8.10";
src = fetchFromGitHub {
owner = "FyraLabs";
repo = "anda";
tag = finalAttrs.version;
hash = "sha256-Uch/QFHmqgxtv1tDwBK5lEPYGf8fS1h3hcKzSNITFHg=";
};
cargoHash = "sha256-VaP4eAgg8cLMOX6b1a5/QTHF+K9a+jD+FmgUZScjFtI=";
__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";
};
})