Merge pull request #258185 from gaelreyrol/biscuit-cli-upgrade-0.4.1

biscuit-cli: 0.4.0 -> 0.4.1
This commit is contained in:
Weijia Wang 2023-10-01 00:00:01 +02:00 committed by GitHub
commit abf56a5bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,