about summary refs log tree commit diff
path: root/pkgs/tools/security/biscuit-cli/default.nix
blob: c4d21980bd49af49d5f6af187b7ed360e53ea123 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "biscuit-cli";
  version = "0.2.0-next-pre20230103";

  src = fetchFromGitHub {
    owner = "biscuit-auth";
    repo = "biscuit-cli";
    rev = "0ecf1ec4c98a90b1bf3614558a029b47c57288df";
    sha256 = "sha256-ADJWqx70IwuvCBeK9rb9WBIsD+oQROQSduSQ8Bu8mfk=";
  };

  cargoLock = {
    outputHashes."biscuit-auth-3.0.0-alpha4" = "sha256-4SzOupoD33D0KHZyVLriGzUHy9XXnWK1pbgqOjJH4PI=";
    lockFile = ./Cargo.lock;
  };

  meta = {
    description = "CLI to generate and inspect biscuit tokens";
    homepage = "https://www.biscuitsec.org/";
    maintainers = [ lib.maintainers.shlevy ];
    license = lib.licenses.bsd3;
  };
}