From patchwork Sun Aug 4 16:44:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhail Singh X-Patchwork-Id: 66680 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B97EF27BBE9; Sun, 4 Aug 2024 17:47:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4133727BBE2 for ; Sun, 4 Aug 2024 17:46:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saeNh-0008B4-FO; Sun, 04 Aug 2024 12:46:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saeNa-00089x-AH for guix-patches@gnu.org; Sun, 04 Aug 2024 12:46:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1saeNV-0001D7-GV for guix-patches@gnu.org; Sun, 04 Aug 2024 12:46:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=VWtreR78/Q54Iwp51xncrLYKJMOWM3A9HTA67sDTpVw=; b=ew8rZDBngINeXWSZVAUq1HmF9Y4+OuAcgGecEbWRKPNrVzPb2Idy78n1RE52F5oijEDmfBe4V70KSyHLxBn1I/YpJaD8ImpCnBmGgcZIPR5M2+ZyRszGsgJ4RnW49e4y7kBREBb6lq5/zvNe17dS63OWNirhqtKiekbreGUhh9xB9uRrEQGD/fAaXaYPMR9zXLO9ewbarG6BSayzIJiAPq5l7OwF/MTYCDky9B2IomTsJsP0H6Um8k+XQEVSk+7dWDq/8JdlgRiw/De1+2vahmZuyiFy0/LjxFjBbYgDPJb9uLkETXuXZsJM/+q5KRtL4W3j2ZiBh2orrcJoDhuXVg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saeNq-0008K7-ER; Sun, 04 Aug 2024 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72467] [PATCH 6/7] gnu: Add rust-ustr-0.9. Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72467@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72467-submit@debbugs.gnu.org id=B72467.172278998631850 (code B ref 72467); Sun, 04 Aug 2024 16:47:02 +0000 Received: (at 72467) by debbugs.gnu.org; 4 Aug 2024 16:46:26 +0000 Received: from localhost ([127.0.0.1]:57103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saeNF-0008Hc-Tq for submit@debbugs.gnu.org; Sun, 04 Aug 2024 12:46:26 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:38532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saeND-0008H2-PZ for 72467@debbugs.gnu.org; Sun, 04 Aug 2024 12:46:24 -0400 Received: by mail-qk1-f193.google.com with SMTP id af79cd13be357-7a1dfa92d8dso133552785a.2 for <72467@debbugs.gnu.org>; Sun, 04 Aug 2024 09:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722789897; x=1723394697; darn=debbugs.gnu.org; h=mime-version:user-agent:date:references:message-id:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=VWtreR78/Q54Iwp51xncrLYKJMOWM3A9HTA67sDTpVw=; b=FRMdb1xun975xUjGcuNzx9ZNYq4K+fkDUDzrQJuVVjP0ewrBUB5uBc3yOuui23SsKp Lu74NfImBy6iamOP1Dk+cikenY3OBncoTZel/ZgV23IKfjBfFTgiBFr7Avfbnwg2DGXc i3PLXFkt9nIKKkiEP6BBbCuP4LDcy1oFUo+euKcm/e3GWuTOlv5EHCVXF7B/3v8ITq5F +UzPAStPlAr1Kr20mnVpeEcT6NhF6jQw1LYKA7kntQKefv2uZUR54cO+xgj7FjkAT3Hb K/C/5iVMWE+O/nCJPelPaxYHtbP9psewlD/W7MvnzLo6CvQm6zyZpq9/h7DpPolFK0Ma vXuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722789897; x=1723394697; h=mime-version:user-agent:date:references:message-id:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VWtreR78/Q54Iwp51xncrLYKJMOWM3A9HTA67sDTpVw=; b=xPLOcXlAtrq2NUo1pRFOAo3zih9HAkZ1VCNPyQSaFn3PkyxABDhIJzu+PTSyI8B+To Jtkmw/eFVd5aJ2FEfhNOagfGxEjtNF2ERjCeKscEMqDOMHhv/M2QUChKw/B3IC8WFGP+ 44MU8U+egzC0iHWWsghOT5pWabhz+57dJg7i0zIVDO9uzVH1xdBhbKUkn/TlGb5B2ziE Zi6zOg2Rzh/I5k7IxitSL3kai2pVe+P1GbDFCNhMkyXs30YMzjh7zGS9PS/ItDcSc/19 2NFjru8DWjHqJ74vYtNm7zMOHlAydim0o6x/d/lzGhQXhb/jEpGEPYojCGQzEjD4+GHK /q6Q== X-Gm-Message-State: AOJu0Yy06jV0dtcunTOEKaPykdJPHEjPoKDVmkXeblT1kwu0x/yEHfpB 0cIIMz0agYdvNqd9zyBVKte0O3dGuoVcAF6sFv89QTLGbSpSpG1J7fRevJtl X-Google-Smtp-Source: AGHT+IE+mRYONW6Yxd2zRMl6sYIhM6+O/rn22BoRlPz+jSC3RvLqOJk/EPYHpHGxHM+iaIDAL7pLpA== X-Received: by 2002:a05:6214:1250:b0:6b9:9417:c103 with SMTP id 6a1803df08f44-6bb9831e8f7mr64902326d6.1.1722789896267; Sun, 04 Aug 2024 09:44:56 -0700 (PDT) Received: from gnus (bras-base-mtrlpq0776w-grc-16-65-93-169-47.dsl.bell.ca. [65.93.169.47]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb9c7b8665sm27414136d6.73.2024.08.04.09.44.55 for <72467@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 09:44:55 -0700 (PDT) From: "Suhail Singh" In-Reply-To: Message-ID: References: Date: Sun, 04 Aug 2024 12:44:55 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-bindgen-0.53): New variable. (rust-cexpr-0.2): New variable. (rust-clang-sys-0.23): New variable. (rust-fasthash-0.4): New variable. (rust-fasthash-sys-0.3): New variable. (rust-spin-0.7): New variable. (rust-string-cache-shared-0.3): New variable. (rust-ustr-0.9): New variable. (rust-which-1): New variable. (rust-xoroshiro128-0.3): New variable. Change-Id: I69588de3aa84215f613500a14851be7d1754463f --- gnu/packages/crates-io.scm | 221 +++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5476688197..148e474993 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7572,6 +7572,34 @@ (define-public rust-bindgen-0.53 ("rust-diff" ,rust-diff-0.1) ("rust-shlex" ,rust-shlex-0.1)))))) +(define-public rust-bindgen-0.37 + (package + (inherit rust-bindgen-0.53) + (name "rust-bindgen") + (version "0.37.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08f2cyzr8fc027mzj2lhmn5j3w318g2ql7yfw5ngxa3yhy1an98v")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cexpr" ,rust-cexpr-0.2) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-clang-sys" ,rust-clang-sys-0.23) + ("rust-clap" ,rust-clap-2) + ("rust-env-logger" ,rust-env-logger-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-0.3) + ("rust-quote" ,rust-quote-0.5) + ("rust-regex" ,rust-regex-1) + ("rust-which" ,rust-which-1)))))) + (define-public rust-bio-types-1 (package (name "rust-bio-types") @@ -11923,6 +11951,23 @@ (define-public rust-cexpr-0.4 #:cargo-development-inputs (("rust-clang-sys" ,rust-clang-sys-0.28)))))) +(define-public rust-cexpr-0.2 + (package + (inherit rust-cexpr-0.6) + (name "rust-cexpr") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cexpr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v1xa3758czmj8h97gh548mr8g0v13ixxvrlm1s79nb7jmgc9aj2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-nom" ,rust-nom-3)))))) + (define-public rust-cfg-aliases-0.1 (package (name "rust-cfg-aliases") @@ -12679,6 +12724,25 @@ (define-public rust-clang-sys-1 (description "This package provides Rust bindings for libclang.") (license license:asl2.0))) +(define-public rust-clang-sys-0.23 + (package + (inherit rust-clang-sys-1) + (name "rust-clang-sys") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clang-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hjr333izzhs6bic84qwnyzy5xzmvasib8f3zkzj4ln3a97c1xyp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glob" ,rust-glob-0.2) + ("rust-glob" ,rust-glob-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.5)))))) + (define-public rust-claxon-0.4 (package (name "rust-claxon") @@ -25705,6 +25769,55 @@ (define-public rust-fast-float-0.2 (description "This package provides a fast floating-point number parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-fasthash-0.4 + (package + (name "rust-fasthash") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fasthash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03v9g4ajw0zk9pv2ranq65xcly1b68hg0qzc2y8y1ajfdfa168h3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-fasthash-sys" ,rust-fasthash-sys-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-seahash" ,rust-seahash-3) + ("rust-xoroshiro128" ,rust-xoroshiro128-0.3)))) + (home-page "https://github.com/flier/rust-fasthash") + (synopsis "suite of non-cryptographic hash functions for Rust.") + (description + "This package provides a suite of non-cryptographic hash functions for +Rust.") + (license license:asl2.0))) + +(define-public rust-fasthash-sys-0.3 + (package + (name "rust-fasthash-sys") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fasthash-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y18v8yya5pnzgfji9lwnrz5jl7q8q2xj2a0sg6ibrz2pwd99pmn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.37) + ("rust-gcc" ,rust-gcc-0.3)))) + (home-page "https://github.com/flier/rust-fasthash") + (synopsis "suite of non-cryptographic hash functions for Rust.") + (description + "This package provides a suite of non-cryptographic hash functions for +Rust.") + (license license:asl2.0))) + (define-public rust-faster-hex-0.9 (package (name "rust-faster-hex") @@ -73114,6 +73227,19 @@ (define-public rust-spin-0.9 initializers are available.") (license license:expat))) +(define-public rust-spin-0.7 + (package + (inherit rust-spin-0.9) + (name "rust-spin") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "spin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qjips9f6fsvkyd7wj3a4gzaqknn2q4kkb19957pl86im56pna0k")))))) + (define-public rust-spin-0.5 (package (inherit rust-spin-0.9) @@ -74574,6 +74700,31 @@ (define-public rust-string-cache-shared-0.3 "Code share between string_cache and string_cache_codegen.") (license (list license:asl2.0 license:expat)))) +(define-public rust-string-interner-0.12 + (package + (name "rust-string-interner") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "string-interner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "021whb6wrfq4mbdcdlrm6f01ncvh23yd2r08kxpyw5v5hz8rcc9q")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-hashbrown" ,rust-hashbrown-0.9) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/robbepop/string-interner") + (synopsis "Efficient string interner with minimal memory footprint +and fast access to the underlying strings.") + (description + "This package provides Efficient string interner with minimal memory +footprint and fast access to the underlying strings.") + (license (list license:expat license:asl2.0)))) + (define-public rust-stringprep-0.1 (package (name "rust-stringprep") @@ -86882,6 +87033,39 @@ (define-public rust-users-0.11 Unix users and groups.") (license license:expat))) +(define-public rust-ustr-0.9 + (package + (name "rust-ustr") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ustr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "177sfj2gcxcxbyw756k4r7dbpsnkjrb62nrqvibdx019kw4kc51p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-fasthash" ,rust-fasthash-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-spin" ,rust-spin-0.7)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-string-interner" ,rust-string-interner-0.12) + ("rust-string-cache" ,rust-string-cache-0.8)))) + (home-page "https://github.com/anderslanglands/ustr") + (synopsis "Fast, FFI-friendly string interning") + (description "This package provides Fast, FFI-friendly string interning.") + (license (license:non-copyleft + "https://spdx.org/licenses/BSD-2-Clause-Patent.html")))) + (define-public rust-utf-8-0.7 (package (name "rust-utf-8") @@ -89870,6 +90054,23 @@ (define-public rust-which-2 #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-which-1 + (package + (inherit rust-which-4) + (name "rust-which") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "which" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cjwa57kzfgzs681a27m5pjmq580pv3hkcg23smf270bgqz60jp8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-whoami-1 (package (name "rust-whoami") @@ -90251,6 +90452,26 @@ (define-public rust-wyz-0.2 "This package provides a collection of utility functions.") (license license:expat))) +(define-public rust-xoroshiro128-0.3 + (package + (name "rust-xoroshiro128") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xoroshiro128" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kfzanis2v39r8q963q161izv0hmfsdxa11cxgqw8jgcp8sdmvp0")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/mscharley/rust-xoroshiro128") + (synopsis "Fast psuedo-random number generators") + (description "This package provides Fast psuedo-random number generators.") + (license license:expat))) + (define-public rust-x86-0.52 (package (name "rust-x86")