biscuit-cli: 0.4.0 -> 0.4.1

This commit is contained in:
Gaël Reyrol 2023-09-30 13:46:51 +02:00
parent e14dd9c00c
commit b693ed6219
No known key found for this signature in database
GPG key ID: DFB9B69A2C427F61
2 changed files with 3 additions and 20 deletions

View file

@ -8,20 +8,16 @@
rustPlatform.buildRustPackage rec {
pname = "biscuit-cli";
version = "0.4.0";
version = "0.4.1";
src = fetchFromGitHub {
owner = "biscuit-auth";
repo = "biscuit-cli";
rev = version;
sha256 = "sha256-Fd5wBvQe7S/UZ42FMlU+f9qTwcLIMnQrCWVRoHxOx64=";
sha256 = "sha256-Mvrv3BU0Pw85fs8IbjMKSQLIhtU6SKoLC0cuGdhfAYs=";
};
cargoHash = "sha256-SHRqdKRAHkWK/pEVFYo3d+r761K4j9BkTg2angQOubk=";
# Version option does not report the correct version
# https://github.com/biscuit-auth/biscuit-cli/issues/44
patches = [ ./version-0.4.0.patch ];
cargoHash = "sha256-tgmM0rswIFrpFyupaASTXYvIyhVu0fXJJN+hg0p+vrQ=";
passthru = {
updateScript = nix-update-script { };

View file

@ -1,13 +0,0 @@
diff --git a/src/cli.rs b/src/cli.rs
index f40cfc7..d587eeb 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -89,7 +89,7 @@ fn parse_param(kv: &str) -> Result<Param, std::io::Error> {
/// biscuit creation and inspection CLI. Run `biscuit --help` to see what's available.
#[derive(Parser)]
-#[clap(version = "0.2.0", author = "Clément D. <clement@delafargue.name>")]
+#[clap(version = "0.4.0", author = "Clément D. <clement@delafargue.name>")]
pub struct Opts {
#[clap(subcommand)]
pub subcmd: SubCommand,