~ruther/guix-local

c6e3ac302641de61fcdb060f054417c5c0fec275 — Robin Templeton 1 year, 4 months ago db5ac9d
gnu: Add libdigidocpp.

* gnu/packages/crypto.scm (libdigidocpp): New variable.

Change-Id: I37168430bb67d66a1e1f8b8094074890c3d83515
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
1 files changed, 34 insertions(+), 0 deletions(-)

M gnu/packages/crypto.scm
M gnu/packages/crypto.scm => gnu/packages/crypto.scm +34 -0
@@ 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+)))