guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c6e3ac302641de61fcdb060f054417c5c0fec275
Author: Robin Templeton <[email protected]>
AuthorDate: Mon Jun 16 02:42:12 2025 -0400
gnu: Add libdigidocpp.
* gnu/packages/crypto.scm (libdigidocpp): New variable.
Change-Id: I37168430bb67d66a1e1f8b8094074890c3d83515
Signed-off-by: Maxim Cournoyer <[email protected]>
Modified-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/crypto.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 72943e9437..4c45146bf8 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2023 Foundation Devices, Inc. <[email protected]>
;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <[email protected]>
;;; Copyright © 2025 Ashish SHUKLA <[email protected]>
+;;; Copyright © 2025 Robin Templeton <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1739,3 +1740,36 @@ default Keychain will only start ssh-agent, but it can
also be
configured to start gpg-agent.")
(home-page "https://www.funtoo.org/Keychain")
(license license:gpl2)))
+
+(define-public libdigidocpp
+ (package
+ (name "libdigidocpp")
+ (version "4.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/open-eid/libdigidocpp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lz8zahdmzav6csnx9r40dhzvaj7zjwvlgdjlx1s0idfrlbs3zd3"))
+ (modules '((guix build utils)))
+ (snippet '(delete-file-recursively "src/minizip"))))
+ (build-system cmake-build-system)
+ (arguments (list #:test-exclude "runtest"))
+ (native-inputs (list boost pkg-config))
+ (inputs
+ (list libltdl
+ libxml2
+ libxslt
+ minizip-ng-compat
+ openssl
+ xmlsec-openssl
+ zlib))
+ (home-page "https://github.com/open-eid/libdigidocpp")
+ (synopsis "DigiDoc digital signature library")
+ (description "DigiDoc is an XML file format for documents with digital
+signatures used by the Estonian ID card infrastructure. This library allows
+for creation and reading of DigiDoc files.")
+ (license license:lgpl2.1+)))