mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
jwt-cli: fix build
This commit is contained in:
parent
0ce8cf87d8
commit
fb5a153c26
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, Security, fetchpatch }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "jwt-cli";
|
||||
@ -13,6 +13,14 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
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";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user