Unverified Commit 33472066 authored by Shea Levy's avatar Shea Levy
Browse files

Merge branch 'biscuit-cli-master'

parents 287805fc 57b37aa4
Loading
Loading
Loading
Loading
+1080 −0

File added.

Preview size limit exceeded, changes collapsed.

+25 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2990,6 +2990,8 @@ with pkgs;
    electron = electron_13;
  };
  biscuit-cli = callPackage ../tools/security/biscuit-cli { };
  bitwarden = callPackage ../tools/security/bitwarden { };
  inherit (nodePackages) bitwarden-cli;