From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 84/86] gnu: Add libpsyc-rust. Date: Tue, 3 Jan 2017 23:36:40 +0000 Message-ID: <20170103233642.3181-85-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> 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]:56111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYgA-0005BM-UM for guix-devel@gnu.org; Tue, 03 Jan 2017 18:39:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYg9-0002pc-6M for guix-devel@gnu.org; Tue, 03 Jan 2017 18:39:42 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYg8-0002oq-VX for guix-devel@gnu.org; Tue, 03 Jan 2017 18:39:41 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYg7-0003cK-Ls for guix-devel@gnu.org; Wed, 04 Jan 2017 00:39:39 +0100 In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw> 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" To: guix-devel@gnu.org * gnu/packages/messaging.scm (libpsyc-rust): New variable. --- gnu/packages/messaging.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 95c265b98..70dcd5d67 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2015 Efraim Flashner -;;; Copyright © 2016 ng0 +;;; Copyright © 2016, 2017 ng0 ;;; Copyright © 2016 Andy Patterson ;;; Copyright © 2016 Clément Lassieur ;;; @@ -35,6 +35,7 @@ #:use-module (guix build-system python) #:use-module (guix build-system perl) #:use-module (guix build-system cmake) + #:use-module (guix build-system cargo) #:use-module (gnu packages) #:use-module (gnu packages aidc) #:use-module (gnu packages autotools) @@ -63,6 +64,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages rust) #:use-module (gnu packages tcl) #:use-module (gnu packages compression) #:use-module (gnu packages check) @@ -1030,6 +1032,21 @@ including psyced.") (synopsis "PSYC library in C") (license license:agpl3+))) +(define-public libpsyc-rust + (package + (inherit libpsyc) + (name "libpsyc-rust") + (inputs + `(("rust-bitflags" ,rust-bitflags))) + (build-system cargo-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after + 'unpack 'chdir + (lambda _ + (chdir "rust")))))))) + ;; This commit removes the historic bundled pcre and makes psyclpc reproducible. (define-public psyclpc (let* ((commit "61cf9aa81297085e5c40170fd01221c752f8deba") -- 2.11.0