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:
commit
abf56a5bd4
@ -8,20 +8,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "biscuit-cli";
|
pname = "biscuit-cli";
|
||||||
version = "0.4.0";
|
version = "0.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "biscuit-auth";
|
owner = "biscuit-auth";
|
||||||
repo = "biscuit-cli";
|
repo = "biscuit-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Fd5wBvQe7S/UZ42FMlU+f9qTwcLIMnQrCWVRoHxOx64=";
|
sha256 = "sha256-Mvrv3BU0Pw85fs8IbjMKSQLIhtU6SKoLC0cuGdhfAYs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-SHRqdKRAHkWK/pEVFYo3d+r761K4j9BkTg2angQOubk=";
|
cargoHash = "sha256-tgmM0rswIFrpFyupaASTXYvIyhVu0fXJJN+hg0p+vrQ=";
|
||||||
|
|
||||||
# Version option does not report the correct version
|
|
||||||
# https://github.com/biscuit-auth/biscuit-cli/issues/44
|
|
||||||
patches = [ ./version-0.4.0.patch ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
|
@ -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,
|
|
Loading…
Reference in New Issue
Block a user