lol

biscuit-cli: 0.4.0 -> 0.4.1

+3 -20
+3 -7
pkgs/tools/security/biscuit-cli/default.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "biscuit-cli"; 11 - version = "0.4.0"; 11 + version = "0.4.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "biscuit-auth"; 15 15 repo = "biscuit-cli"; 16 16 rev = version; 17 - sha256 = "sha256-Fd5wBvQe7S/UZ42FMlU+f9qTwcLIMnQrCWVRoHxOx64="; 17 + sha256 = "sha256-Mvrv3BU0Pw85fs8IbjMKSQLIhtU6SKoLC0cuGdhfAYs="; 18 18 }; 19 19 20 - cargoHash = "sha256-SHRqdKRAHkWK/pEVFYo3d+r761K4j9BkTg2angQOubk="; 21 - 22 - # Version option does not report the correct version 23 - # https://github.com/biscuit-auth/biscuit-cli/issues/44 24 - patches = [ ./version-0.4.0.patch ]; 20 + cargoHash = "sha256-tgmM0rswIFrpFyupaASTXYvIyhVu0fXJJN+hg0p+vrQ="; 25 21 26 22 passthru = { 27 23 updateScript = nix-update-script { };
-13
pkgs/tools/security/biscuit-cli/version-0.4.0.patch
··· 1 - diff --git a/src/cli.rs b/src/cli.rs 2 - index f40cfc7..d587eeb 100644 3 - --- a/src/cli.rs 4 - +++ b/src/cli.rs 5 - @@ -89,7 +89,7 @@ fn parse_param(kv: &str) -> Result<Param, std::io::Error> { 6 - 7 - /// biscuit creation and inspection CLI. Run `biscuit --help` to see what's available. 8 - #[derive(Parser)] 9 - -#[clap(version = "0.2.0", author = "Clément D. <clement@delafargue.name>")] 10 - +#[clap(version = "0.4.0", author = "Clément D. <clement@delafargue.name>")] 11 - pub struct Opts { 12 - #[clap(subcommand)] 13 - pub subcmd: SubCommand,