summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-03 22:41:44 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 19:52:36 +0100
commit483ce377caf72adcc36757566c578145f378055c (patch)
tree336db4518aae91c9f3384b44647c81acaa969046
parent8c0ce2766af448394b40451c2a69ce4acbe6df75 (diff)
gnu: Add rust-phf-codegen-0.10.
* gnu/packages/crates-io.scm (rust-phf-codegen-0.10): New variable. (rust-phf-codegen-0.8): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 24 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 688c7ac512..920f271cf6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36568,8 +36568,31 @@ function data structures.")
"Runtime support for perfect hash function data structures.")
(license license:expat)))
+(define-public rust-phf-codegen-0.10
+ (package
+ (name "rust-phf-codegen")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "phf_codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k8kdad9wk2d5972k6jmjki2xpdy2ky4zd19rv7ybm2dpjlc7cag"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-phf-generator" ,rust-phf-generator-0.10)
+ ("rust-phf-shared" ,rust-phf-shared-0.10))))
+ (home-page "https://github.com/sfackler/rust-phf")
+ (synopsis "Codegen library for PHF types")
+ (description "Codegen library for PHF types.")
+ (license license:expat)))
+
(define-public rust-phf-codegen-0.8
(package
+ (inherit rust-phf-codegen-0.10)
(name "rust-phf-codegen")
(version "0.8.0")
(source
@@ -36581,16 +36604,11 @@ function data structures.")
(sha256
(base32
"05d8w7aqqjb6039pfm6404gk5dlwrrf97kiy1n21212vb1hyxzyb"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-phf-generator" ,rust-phf-generator-0.8)
- ("rust-phf-shared" ,rust-phf-shared-0.8))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "Codegen library for PHF types")
- (description "Codegen library for PHF types.")
- (license license:expat)))
+ ("rust-phf-shared" ,rust-phf-shared-0.8))))))
(define-public rust-phf-codegen-0.7
(package