tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
biscuit-cli: 0.4.0 -> 0.4.1
Gaël Reyrol
2 years ago
b693ed62
e14dd9c0
+3
-20
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
biscuit-cli
default.nix
version-0.4.0.patch
+3
-7
pkgs/tools/security/biscuit-cli/default.nix
reviewed
···
8
8
9
9
rustPlatform.buildRustPackage rec {
10
10
pname = "biscuit-cli";
11
11
-
version = "0.4.0";
11
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
17
-
sha256 = "sha256-Fd5wBvQe7S/UZ42FMlU+f9qTwcLIMnQrCWVRoHxOx64=";
17
17
+
sha256 = "sha256-Mvrv3BU0Pw85fs8IbjMKSQLIhtU6SKoLC0cuGdhfAYs=";
18
18
};
19
19
20
20
-
cargoHash = "sha256-SHRqdKRAHkWK/pEVFYo3d+r761K4j9BkTg2angQOubk=";
21
21
-
22
22
-
# Version option does not report the correct version
23
23
-
# https://github.com/biscuit-auth/biscuit-cli/issues/44
24
24
-
patches = [ ./version-0.4.0.patch ];
20
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
reviewed
···
1
1
-
diff --git a/src/cli.rs b/src/cli.rs
2
2
-
index f40cfc7..d587eeb 100644
3
3
-
--- a/src/cli.rs
4
4
-
+++ b/src/cli.rs
5
5
-
@@ -89,7 +89,7 @@ fn parse_param(kv: &str) -> Result<Param, std::io::Error> {
6
6
-
7
7
-
/// biscuit creation and inspection CLI. Run `biscuit --help` to see what's available.
8
8
-
#[derive(Parser)]
9
9
-
-#[clap(version = "0.2.0", author = "Clément D. <clement@delafargue.name>")]
10
10
-
+#[clap(version = "0.4.0", author = "Clément D. <clement@delafargue.name>")]
11
11
-
pub struct Opts {
12
12
-
#[clap(subcommand)]
13
13
-
pub subcmd: SubCommand,