about summary refs log tree commit diff
path: root/pkgs/tools/security/rnp
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-05-18 21:38:00 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:49:33 +0300
commitd5f218a228a9406286dc34b4e522c987fa48be50 (patch)
tree5b0315cdd6bf4c9b582d3e7271e6e9455859fc5b /pkgs/tools/security/rnp
parent7a2593d3c9e3c0fa635ef5cc8ee6b44996a0477c (diff)
rnp: fix path in pkg-config file
Diffstat (limited to 'pkgs/tools/security/rnp')
-rw-r--r--pkgs/tools/security/rnp/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/security/rnp/default.nix b/pkgs/tools/security/rnp/default.nix
index a18571c804041..63053a10095c4 100644
--- a/pkgs/tools/security/rnp/default.nix
+++ b/pkgs/tools/security/rnp/default.nix
@@ -5,6 +5,7 @@
 , bzip2
 , cmake
 , fetchFromGitHub
+, fetchpatch
 , gnupg
 , gtest
 , json_c
@@ -24,6 +25,15 @@ stdenv.mkDerivation rec {
     sha256 = "u0etVslTBF9fBqnpVBofYsm0uC/eR6gO3lhwzqua5Qw=";
   };
 
+  # in master post 0.16.0, see https://github.com/rnpgp/rnp/issues/1835
+  patches = [
+    (fetchpatch {
+      name = "fix-pkg-config.patch";
+      url = "https://github.com/rnpgp/rnp/commit/de9856c94ea829cad277800ee03ec52e30993d8e.patch";
+      sha256 = "1vd83fva7lhmvqnvsrifqb2zdhfrbx84lf3l9i0hcph0k8h3ddx9";
+    })
+  ];
+
   buildInputs = [ zlib bzip2 json_c botan2 ];
 
   cmakeFlags = [