gnu: Add osslsigncode.

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

Change-Id: I06650934775804116fc7a703e66f26b3bfd00168
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Hennadii Stepanov 2026-01-10 21:24:31 +00:00 committed by Andreas Enge
parent fd3677b0c9
commit ba2fbdd2f5
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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+)))