[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/379: gnu: Add rust-phf-generator-0.11.
From: |
guix-commits |
Subject: |
30/379: gnu: Add rust-phf-generator-0.11. |
Date: |
Mon, 10 Jul 2023 05:27:48 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 135b857b08d33f836f61e78fc7df2b66b4e6a5f6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:04:52 2023 +0300
gnu: Add rust-phf-generator-0.11.
* gnu/packages/crates-io.scm (rust-phf-generator-0.11): New variable.
(rust-phf-generator-0.10): Inherit from rust-phf-generator-0.11.
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
1 file changed, 31 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5bb37973af..635eb5b142 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44057,8 +44057,38 @@ function data structures.")
(description "Codegen library for PHF types.")
(license license:expat)))
+(define-public rust-phf-generator-0.11
+ (package
+ (name "rust-phf-generator")
+ (version "0.11.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "phf-generator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gsgy5k45y937qnwp58dc05d63lwlfm3imqr1zslb8qgb2a1q65i"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-phf-shared" ,rust-phf-shared-0.11)
+ ("rust-rand" ,rust-rand-0.8))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/rust-phf/rust-phf")
+ (synopsis "PHF generation logic")
+ (description "PHF generation logic.")
+ (license license:expat)))
+
(define-public rust-phf-generator-0.10
(package
+ (inherit rust-phf-generator-0.11)
(name "rust-phf-generator")
(version "0.10.0")
(source
@@ -44068,17 +44098,12 @@ function data structures.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mlq6hlajsvlsx6rhw49g9ricsm017lrxmgmmbk85sxm7f4qaljx"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-phf-shared" ,rust-phf-shared-0.10)
- ("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "PHF generation logic")
- (description "PHF generation logic.")
- (license license:expat)))
+ ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-phf-generator-0.8
(package
- 20/379: gnu: rust-io-lifetimes-1: Update to 1.0.10., (continued)
- 20/379: gnu: rust-io-lifetimes-1: Update to 1.0.10., guix-commits, 2023/07/10
- 23/379: gnu: Add rust-linux-raw-sys-0.3., guix-commits, 2023/07/10
- 25/379: gnu: Add rust-password-hash-0.5., guix-commits, 2023/07/10
- 26/379: gnu: Add rust-pbkdf2-0.12., guix-commits, 2023/07/10
- 27/379: gnu: Add rust-pem-rfc7468-0.7., guix-commits, 2023/07/10
- 31/379: gnu: Add rust-phf-macros-0.11., guix-commits, 2023/07/10
- 32/379: gnu: Add rust-phf-shared-0.11., guix-commits, 2023/07/10
- 21/379: gnu: rust-is-terminal-0.4: Update to 0.4.7., guix-commits, 2023/07/10
- 24/379: gnu: Add rust-memoffset-0.8., guix-commits, 2023/07/10
- 28/379: gnu: Add rust-phf-0.11., guix-commits, 2023/07/10
- 30/379: gnu: Add rust-phf-generator-0.11.,
guix-commits <=
- 29/379: gnu: Add rust-phf-codegen-0.11., guix-commits, 2023/07/10
- 37/379: gnu: Add rust-rustix-0.37., guix-commits, 2023/07/10
- 42/379: gnu: Add rust-signature-2., guix-commits, 2023/07/10
- 45/379: gnu: rust-tempfile-3: Update to 3.5.0., guix-commits, 2023/07/10
- 36/379: gnu: Add rust-raw-cpuid-10., guix-commits, 2023/07/10
- 39/379: gnu: Add rust-scrypt-0.11., guix-commits, 2023/07/10
- 33/379: gnu: Add rust-pkcs8-0.10., guix-commits, 2023/07/10
- 34/379: gnu: Add rust-pkcs5-0.7., guix-commits, 2023/07/10
- 35/379: gnu: rust-proptest-1: Update to 1.1.0., guix-commits, 2023/07/10
- 41/379: gnu: Add rust-signature-derive-2., guix-commits, 2023/07/10