From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 3/3] gnu: Add signify. Date: Sat, 26 Mar 2016 19:19:00 -0400 Message-ID: <7de93343ae37513e9c9ab72bafc77a1ced83788d.1459033650.git.leo@famulari.name> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajxUE-0007V3-PA for guix-devel@gnu.org; Sat, 26 Mar 2016 19:19:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajxUA-0002sj-MM for guix-devel@gnu.org; Sat, 26 Mar 2016 19:19:18 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajxUA-0002sC-I3 for guix-devel@gnu.org; Sat, 26 Mar 2016 19:19:14 -0400 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 0CA796801CE for ; Sat, 26 Mar 2016 19:19:13 -0400 (EDT) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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..56e2a90 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 ;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2016 Leo Famulari ;;; ;;; 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)))) ; FIXME: IBM license on base64.c? -- 2.7.3