From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 11/86] gnu: Add rust-slab. Date: Tue, 3 Jan 2017 23:35:27 +0000 Message-ID: <20170103233642.3181-12-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYdH-0002Wf-Dr for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYdG-0000gl-BQ for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:43 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYdG-0000g6-4c for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:42 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYdE-0007VJ-T1 for guix-devel@gnu.org; Wed, 04 Jan 2017 00:36:40 +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-slab): New variable. --- gnu/packages/rust.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index fe133c084..ff4901d0a 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -479,3 +479,24 @@ never happen. This crate also comes packed with a few traits offering extension methods to @code{Result} and @code{Result}.") (license license:expat))) + +(define-public rust-slab + (package + (name "rust-slab") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "slab" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08xw8w61zdfn1094qkq1d554vh5wmm9bqdys8gqqxc4sv2pgrd0p")))) + (build-system cargo-build-system) + (home-page "https://github.com/carllerche/slab") + (synopsis "Simple slab allocator") + (description + "Slab Allocator for Rust. Preallocate memory for values +of a given type.") + (license license:expat))) -- 2.11.0