me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-phf-generator-0.9.

* gnu/packages/crates-io.scm (rust-phf-generator-0.9): New variable.
Efraim Flashner 2023-05-11 17:30:26 +03:00
parent 3276c6107e
commit 0804e197eb
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 0 deletions

View File

@ -44105,6 +44105,32 @@ function data structures.")
("rust-phf-shared" ,rust-phf-shared-0.10) ("rust-phf-shared" ,rust-phf-shared-0.10)
("rust-rand" ,rust-rand-0.8)))))) ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-phf-generator-0.9
(package
(inherit rust-phf-generator-0.10)
(name "rust-phf-generator")
(version "0.9.1")
(source (origin
(method url-fetch)
(uri (crate-uri "phf-generator" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"10ih96kaxnkn1yxk3ghpzgm09nc0rn69fd52kv68003fv4h34gyl"))
(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.9)
("rust-rand" ,rust-rand-0.8))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3))))))
(define-public rust-phf-generator-0.8 (define-public rust-phf-generator-0.8
(package (package
(inherit rust-phf-generator-0.10) (inherit rust-phf-generator-0.10)