From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [v2 2/2] gnu: Add signify. Date: Fri, 1 Apr 2016 21:24:34 -0400 Message-ID: <521584dad223b3cb86c5a11ec2107a8eddf6474b.1459560195.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]:60114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amAJ1-0002dG-0U for guix-devel@gnu.org; Fri, 01 Apr 2016 21:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amAIw-0006p1-Mq for guix-devel@gnu.org; Fri, 01 Apr 2016 21:24:50 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:42339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amAIw-0006ob-Ir for guix-devel@gnu.org; Fri, 01 Apr 2016 21:24:46 -0400 Received: from localhost.localdomain (unknown [172.58.145.250]) by mail.messagingengine.com (Postfix) with ESMTPA id C267B680218 for ; Fri, 1 Apr 2016 21:24:44 -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..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 ;;; 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 non-copyleft)))) -- 2.7.3