[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/472: gnu: Add rust-phf-generator-0.11.
From: |
guix-commits |
Subject: |
30/472: gnu: Add rust-phf-generator-0.11. |
Date: |
Tue, 18 Jul 2023 14:07:57 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 009a425ab0b8efa305097486d05dcaed2006325c
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
- 104/472: gnu: python-cryptography-vectors: Update to 40.0.2., (continued)
- 104/472: gnu: python-cryptography-vectors: Update to 40.0.2., guix-commits, 2023/07/18
- 110/472: gnu: rust-hermit-abi-0.1: Update to 0.1.20., guix-commits, 2023/07/18
- 112/472: gnu: rust-parking-lot-core-0.9: Update to 0.9.7., guix-commits, 2023/07/18
- 111/472: gnu: rust-mio-0.8: Update to 0.8.6., guix-commits, 2023/07/18
- 114/472: gnu: rust-trash-2: Update to 2.1.3., guix-commits, 2023/07/18
- 117/472: gnu: rust-os-pipe-1: Update to 1.1.4., guix-commits, 2023/07/18
- 29/472: gnu: Add rust-phf-codegen-0.11., guix-commits, 2023/07/18
- 23/472: gnu: Add rust-linux-raw-sys-0.3., guix-commits, 2023/07/18
- 24/472: gnu: Add rust-memoffset-0.8., guix-commits, 2023/07/18
- 27/472: gnu: Add rust-pem-rfc7468-0.7., guix-commits, 2023/07/18
- 30/472: gnu: Add rust-phf-generator-0.11.,
guix-commits <=
- 32/472: gnu: Add rust-phf-shared-0.11., guix-commits, 2023/07/18
- 34/472: gnu: Add rust-pkcs5-0.7., guix-commits, 2023/07/18
- 31/472: gnu: Add rust-phf-macros-0.11., guix-commits, 2023/07/18
- 33/472: gnu: Add rust-pkcs8-0.10., guix-commits, 2023/07/18
- 38/472: gnu: Add rust-salsa20-0.10., guix-commits, 2023/07/18
- 45/472: gnu: rust-tempfile-3: Update to 3.5.0., guix-commits, 2023/07/18
- 41/472: gnu: Add rust-signature-derive-2., guix-commits, 2023/07/18
- 42/472: gnu: Add rust-signature-2., guix-commits, 2023/07/18
- 40/472: gnu: Add rust-sha3-0.10., guix-commits, 2023/07/18
- 52/472: gnu: Add rust-windows-x86-64-gnu-0.48., guix-commits, 2023/07/18