~ruther/guix-local

bb898f243ad0c10ba1c59ddbfbf7091c19c0277d — Hennadii Stepanov a month ago ee17577
gnu: Add osslsigncode.

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

Change-Id: I06650934775804116fc7a703e66f26b3bfd00168
Signed-off-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 29 insertions(+), 0 deletions(-)

M gnu/packages/crypto.scm
M gnu/packages/crypto.scm => gnu/packages/crypto.scm +29 -0
@@ 30,6 30,7 @@
;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2025 Robin Templeton <robin@guixotic.coop>
;;; Copyright © 2026 Hennadii Stepanov <hebasto@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 1809,3 1810,31 @@ configured to start gpg-agent.")
signatures used by the Estonian ID card infrastructure.  This library allows
for creation and reading of DigiDoc files.")
    (license license:lgpl2.1+)))

(define-public osslsigncode
  (package
    (name "osslsigncode")
    (version "2.10")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/mtrojnar/osslsigncode")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1fizcrcgavw5zkzws62pgz8ly5jnmrpv33whryabqgg9q5fwsf2j"))))
    (build-system cmake-build-system)
    (arguments
     (list
      #:parallel-tests? #f))
    (inputs (list openssl zlib))
    (native-inputs (list python-cryptography python-minimal-wrapper))
    (home-page "https://github.com/mtrojnar/osslsigncode")
    (synopsis
     "Authenticode signing for PE, CAB, CAT, MSI, APPX and script files")
    (description
     "osslsigncode is a small tool that implements part of the
functionality of the Microsoft tool signtool.exe - more exactly the Authenticode
signing and timestamping.  It is based on OpenSSL.")
    (license license:gpl3+)))