Files
nixpkgs/pkgs/by-name/bi/biscuit-cli/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
893 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
testers,
nix-update-script,
biscuit-cli,
}:
rustPlatform.buildRustPackage rec {
pname = "biscuit-cli";
version = "0.6.0";
src = fetchFromGitHub {
owner = "biscuit-auth";
repo = "biscuit-cli";
tag = version;
sha256 = "sha256-s4Y4MhM79Z+4VxB03+56OqRQJaSHj2VQEJcL6CsT+2k=";
};
cargoHash = "sha256-OG8/9CxOTCYXwyavdaXvak8GbCOMvelcsSJVkEgdMdI=";
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
inherit version;
package = biscuit-cli;
command = "biscuit --version";
};
};
meta = with lib; {
description = "CLI to generate and inspect biscuit tokens";
homepage = "https://www.biscuitsec.org/";
maintainers = with maintainers; [
shlevy
gaelreyrol
];
license = licenses.bsd3;
mainProgram = "biscuit";
};
}