From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkU4-00054Z-63 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkU0-0003xP-1D for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:23 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkTz-0003xA-JQ for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkTz-00057G-HC for guix-patches@gnu.org; Sun, 26 Apr 2020 12:50:19 -0400 Subject: [bug#40874] [PATCH 50/94] gnu: Add rust-lru-cache-0.1. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:48304) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkTB-0002I8-II for guix-patches@gnu.org; Sun, 26 Apr 2020 12:49:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkT4-0002PM-2y for guix-patches@gnu.org; Sun, 26 Apr 2020 12:49:29 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:37642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkT3-0002Lx-J1 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:49:21 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:45:29 +0200 Message-Id: <39c10da85a9b01b39e6666a0495f54b03f959a2b.1587919229.git.h.goebel@crazy-compilers.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40874@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-lru-cache-0.1): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a632fc31b3..243157a8c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10786,6 +10786,28 @@ by inspecting the system for user preference.") ("rust-serde-derive" ,rust-serde-derive-1.0) ("rust-serde-json" ,rust-serde-json-1.0)))))) +(define-public rust-lru-cache-0.1 + (package + (name "rust-lru-cache") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "lru-cache" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "071viv6g2p3akwqmfb3c8vsycs5n7kr17b70l7la071jv0d4zqii")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heapsize" ,rust-heapsize-0.4) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)))) + (home-page "https://github.com/contain-rs/lru-cache") + (synopsis "Cache that holds a limited number of key-value pairs") + (description "This package provides a cache that holds a limited number of +key-value pairs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lscolors-0.6 (package (name "rust-lscolors") -- 2.21.3