From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [v2 2/2] gnu: Add signify.
Date: Fri, 1 Apr 2016 21:24:34 -0400 [thread overview]
Message-ID: <521584dad223b3cb86c5a11ec2107a8eddf6474b.1459560195.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1459560195.git.leo@famulari.name>
In-Reply-To: <cover.1459560195.git.leo@famulari.name>
* gnu/packages/crypto.scm (signify): New variable.
---
gnu/packages/crypto.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index a8d675b..a9ff764 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 David Thompson <davet@gnu.org>
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,6 +20,8 @@
(define-module (gnu packages crypto)
#:use-module (gnu packages)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages libbsd)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
@@ -46,3 +49,35 @@
communication, encryption, decryption, signatures, etc.")
(license isc)
(home-page "http://libsodium.org")))
+
+(define-public signify
+ (package
+ (name "signify")
+ (version "17")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/aperezdc/signify/"
+ "archive/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kfv2k1fqck31vwlnicavb0h541ilad9zd7j8zz8x2kx36wwqpr7"))))
+ (build-system gnu-build-system)
+ ;; TODO Build with libwaive (described in README.md), to implement something
+ ;; like OpenBSD's pledge().
+ (arguments
+ `(#:make-flags
+ (list "CC=gcc"
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)))) ; no test suite
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libbsd" ,libbsd)))
+ (synopsis "Create and verify cryptographic signatures")
+ (description "The signify utility creates and verifies cryptographic
+signatures using the elliptic curve Ed25519.")
+ (home-page "https://github.com/aperezdc/signify")
+ (license (list bsd-3 bsd-4 isc public-domain non-copyleft))))
--
2.7.3
next prev parent reply other threads:[~2016-04-02 1:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-02 1:24 [v2 0/2] Signify Leo Famulari
2016-04-02 1:24 ` [v2 1/2] gnu: Add libbsd Leo Famulari
2016-04-02 7:47 ` Alex Kost
2016-04-02 17:21 ` Leo Famulari
2016-04-02 1:24 ` Leo Famulari [this message]
2016-04-02 7:47 ` [v2 2/2] gnu: Add signify Alex Kost
2016-04-02 17:22 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=521584dad223b3cb86c5a11ec2107a8eddf6474b.1459560195.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.