Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "biscuit-cli"; 5 version = "0.2.0-next-pre20230103"; 6 7 src = fetchFromGitHub { 8 owner = "biscuit-auth"; 9 repo = "biscuit-cli"; 10 rev = "0ecf1ec4c98a90b1bf3614558a029b47c57288df"; 11 sha256 = "sha256-ADJWqx70IwuvCBeK9rb9WBIsD+oQROQSduSQ8Bu8mfk="; 12 }; 13 14 cargoLock = { 15 outputHashes."biscuit-auth-3.0.0-alpha4" = "sha256-4SzOupoD33D0KHZyVLriGzUHy9XXnWK1pbgqOjJH4PI="; 16 lockFile = ./Cargo.lock; 17 }; 18 19 meta = { 20 description = "CLI to generate and inspect biscuit tokens"; 21 homepage = "https://www.biscuitsec.org/"; 22 maintainers = [ lib.maintainers.shlevy ]; 23 license = lib.licenses.bsd3; 24 }; 25}