summaryrefslogtreecommitdiff
path: root/gnu/packages/crypto.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crypto.scm')
-rw-r--r--gnu/packages/crypto.scm34
1 files changed, 34 insertions, 0 deletions
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. <hello@foundationdevices.com>
;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
+;;; Copyright © 2025 Robin Templeton <robin@guixotic.coop>
;;;
;;; 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+)))