Skip to content

Commit d5f218a

Browse files
alexshpilkinArtturin
authored andcommitted
rnp: fix path in pkg-config file
1 parent 7a2593d commit d5f218a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkgs/tools/security/rnp/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
, bzip2
66
, cmake
77
, fetchFromGitHub
8+
, fetchpatch
89
, gnupg
910
, gtest
1011
, json_c
@@ -24,6 +25,15 @@ stdenv.mkDerivation rec {
2425
sha256 = "u0etVslTBF9fBqnpVBofYsm0uC/eR6gO3lhwzqua5Qw=";
2526
};
2627

28+
# in master post 0.16.0, see https://github.com/rnpgp/rnp/issues/1835
29+
patches = [
30+
(fetchpatch {
31+
name = "fix-pkg-config.patch";
32+
url = "https://github.com/rnpgp/rnp/commit/de9856c94ea829cad277800ee03ec52e30993d8e.patch";
33+
sha256 = "1vd83fva7lhmvqnvsrifqb2zdhfrbx84lf3l9i0hcph0k8h3ddx9";
34+
})
35+
];
36+
2737
buildInputs = [ zlib bzip2 json_c botan2 ];
2838

2939
cmakeFlags = [

0 commit comments

Comments
 (0)