Skip to content

Commit 1bc9ee4

Browse files
committed
wip
1 parent bc119a9 commit 1bc9ee4

File tree

2 files changed

+21
-141
lines changed

2 files changed

+21
-141
lines changed

nix/pkgs/rusty_jwt_tools_ffi/add-Cargo.lock.patch

Lines changed: 14 additions & 138 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/pkgs/rusty_jwt_tools_ffi/default.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ rustPlatform.buildRustPackage rec {
1010
owner = "wireapp";
1111
repo = "rusty-jwt-tools";
1212
# if you update this, please generate a new Cargo.lock file es described below at `cargoPatches`
13-
rev = "5fa042cbc6bdd4fdecc66287344855b9314a7046";
14-
sha256 = "sha256-ytsAHzwvZahCpYaIbpllbFo4YdbvE8J94N3G2CU2S2A=";
13+
rev = "v${version}";
14+
sha256 = "sha256-s2F1y3W5tPN+cUKLJHvqEuNz0RqnWmRi0Xn+WEW26Q4=";
1515
};
16-
cargoSha256 = "sha256-6JdmMuYrvDS4Nwgz+OAV2B5yE9j1NBOs9/8R5Gb+Rfs=";
16+
doCheck = false;
17+
cargoSha256 = "sha256-Y829R2KXX8bOUQOG9ySXKxUd+ChoECqTXiJH02vcVtU=";
18+
cargoDepsHook = ''
19+
mkdir -p rusty_jwt-tools_ffi-${version}-vendor.tar.gz/ring/.git
20+
'';
1721
cargoPatches = [
1822
# a patch file to add/update Cargo.lock in the source code
1923
# it's good practice not to add Cargo.lock to the source code for libraries

0 commit comments

Comments
 (0)