From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 28/86] gnu: Add rust-openssl-sys. Date: Tue, 3 Jan 2017 23:35:44 +0000 Message-ID: <20170103233642.3181-29-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYeQ-0003jH-I5 for guix-devel@gnu.org; Tue, 03 Jan 2017 18:37:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYeM-0001Vl-Nh for guix-devel@gnu.org; Tue, 03 Jan 2017 18:37:54 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYeM-0001VE-Fy for guix-devel@gnu.org; Tue, 03 Jan 2017 18:37:50 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYeL-0001rg-AT for guix-devel@gnu.org; Wed, 04 Jan 2017 00:37:49 +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/rust.scm (rust-openssl-sys): New variable. --- gnu/packages/rust.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index e29a502a7..6f147d9ba 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -29,6 +29,7 @@ #:use-module (gnu packages llvm) #:use-module (gnu packages python) #:use-module (gnu packages qt) + #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) @@ -860,3 +861,27 @@ at build time in order to be used in Cargo build scripts.") (description "Num-iter provides external iterators for generic mathematics.") (license (list license:expat license:asl2.0)))) + +(define-public rust-openssl-sys + (package + (name "rust-openssl-sys") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "openssl-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00fhzblw6l43ykrp3wwz3lwxqzl8sqd6vzrpb5jjn86av963f8sy")))) + (build-system cargo-build-system) + (native-inputs + `(("rust-pkg-config" ,rust-pkg-config "src"))) + (inputs + `(("rust-libc" ,rust-libc "src") + ("openssl" ,openssl))) + (home-page "https://github.com/sfackler/rust-openssl") + (synopsis "OpenSSL bindings for Rust") + (description "OpenSSL bindings for Rust") + (license license:expat))) -- 2.11.0