jwt-cli: 3.1.0 -> 3.2.1

This commit is contained in:
Robert Helgesson 2020-09-16 23:20:16 +02:00
parent 5ace6ec724
commit 9dfcba812a
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -2,27 +2,22 @@
rustPlatform.buildRustPackage rec {
pname = "jwt-cli";
version = "3.1.0";
version = "3.2.1";
src = fetchFromGitHub {
owner = "mike-engel";
repo = pname;
rev = version;
sha256 = "0pmxis3m3madwnmswz9hn0i8fz6a9bg11slgrrwql7mx23ijqf6y";
sha256 = "07mnkr7hi29fyyyn7llb30p4ndiqz4gf1lnhm44qm09alaxmfvws";
};
cargoSha256 = "165g1v0c8jxs8ddm8ld0hh7k8mvk3566ig43pf99hnw009fg1yc2";
patches = [
# to fix `cargo test -- --test-threads $NIX_BUILD_CORES`
(fetchpatch {
url = "https://github.com/mike-engel/jwt-cli/commit/df87111f3084abdecce5d58ad031edb6e7fef94a.patch";
sha256 = "1vjk7wy8ddkz9wjkiayag61gklrq59m7bwlaiyinjp4n15gx0j1k";
})
];
cargoSha256 = "0jkzy7ssg9v9phhlldq6s4rfs3sn17y2r1k0jr10g9j15lzixa04";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
doInstallCheck = true;
installCheckPhase = "$out/bin/jwt --version";
meta = with stdenv.lib; {
description = "Super fast CLI tool to decode and encode JWTs";
homepage = "https://github.com/mike-engel/jwt-cli";