aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-28 14:57:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-28 14:59:31 +0300
commit5fd60833320506dbc9a2cfb80eaafc2eec172766 (patch)
tree8c6c70f12c54c5edbc12d33925de9651618f2797 /gnu/packages
parentdac41c527990a16bbeaeb6a79bd6093eb5945c96 (diff)
downloadguix-5fd60833320506dbc9a2cfb80eaafc2eec172766.tar.gz
guix-5fd60833320506dbc9a2cfb80eaafc2eec172766.zip
gnu; Add go-minisign.
* gnu/packages/crypto.scm (go-minisign): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crypto.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index e140936d4a..859fc9d654 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -45,6 +45,7 @@
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages image)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages libbsd)
@@ -73,6 +74,7 @@
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system perl)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
@@ -197,6 +199,33 @@ OpenBSD tool of the same name.")
"This package provides a crate to sign files and verify signatures.")
(license license:expat)))
+(define-public go-minisign
+ (package
+ (name "go-minisign")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jedisct1/go-minisign")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wc0rk5m60yz52f0cncmbgq67yvb1rcx91gvzjg6jpc4mpw2db27"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "vendor") #t))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jedisct1/go-minisign"))
+ (propagated-inputs
+ `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+ (home-page "https://github.com/jedisct1/go-minisign")
+ (synopsis "Minisign verification library for Golang")
+ (description "A Golang library to verify Minisign signatures.")
+ (license license:expat)))
+
(define-public encfs
(package
(name "encfs")