about summary refs log tree commit diff
path: root/pkgs/tools/security/qdigidoc
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-13 13:20:18 +0200
committerFlorian Klink <flokli@flokli.de>2024-05-13 13:20:18 +0200
commit9482aa977231d0244e393f50fb9cf13c36a32863 (patch)
tree2a43eed4ab736548a1ca3a0720a71eb18631b710 /pkgs/tools/security/qdigidoc
parentc8b2579f1fe502a7cff41fbc55e8958f27650287 (diff)
qdigidoc: 4.4.0 -> 4.5.1
 - Code, Text and translation improvements and updates
 - Version number change to include new libdigidocpp build.
Diffstat (limited to 'pkgs/tools/security/qdigidoc')
-rw-r--r--pkgs/tools/security/qdigidoc/default.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/tools/security/qdigidoc/default.nix b/pkgs/tools/security/qdigidoc/default.nix
index 862249d2ebd10..236cef27d6059 100644
--- a/pkgs/tools/security/qdigidoc/default.nix
+++ b/pkgs/tools/security/qdigidoc/default.nix
@@ -1,6 +1,7 @@
 { lib
 , mkDerivation
 , fetchurl
+, fetchpatch
 , cmake
 , flatbuffers
 , gettext
@@ -17,12 +18,12 @@
 
 mkDerivation rec {
   pname = "qdigidoc";
-  version = "4.4.0";
+  version = "4.5.1";
 
   src = fetchurl {
     url =
       "https://github.com/open-eid/DigiDoc4-Client/releases/download/v${version}/qdigidoc4-${version}.tar.gz";
-    hash = "sha256-5zo0yoY0wufm9DWRIccxJ5g4DXn75nT4fd2h+5QP4oQ=";
+    hash = "sha256-grhSuexp5yd/s8h5AdmdSLBmQY85l9HKZ15oTTvC6PI=";
   };
 
   tsl = fetchurl {
@@ -30,6 +31,14 @@ mkDerivation rec {
     sha256 = "1cikz36w9phgczcqnwk4k3mx3kk919wy2327jksmfa4cjfjq4a8d";
   };
 
+  patches = [
+    # https://github.com/open-eid/DigiDoc4-Client/pull/1251
+    (fetchpatch {
+      url = "https://github.com/open-eid/DigiDoc4-Client/commit/30281d14c5fb5582832eafbc254b56f8d685227d.patch";
+      hash = "sha256-nv23NbPUogOhS8No3SMIrAcPChl+d1HkxnePpCKIoUw=";
+    })
+  ];
+
   nativeBuildInputs = [ cmake gettext pkg-config qttools ];
 
   postPatch = ''