mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
gnu: Add rust-phf-0.10.
* gnu/packages/crates-io.scm (rust-phf-0.10): New variable. (rust-phf-0.8): Inherit from above.
This commit is contained in:
parent
da3e947fa2
commit
7249e0180c
1 changed files with 26 additions and 7 deletions
|
@ -36517,8 +36517,33 @@ (define-public rust-petgraph-0.4
|
|||
(("fn dot\\(\\) \\{" all)
|
||||
(string-append "#[ignore] " all))))))))))
|
||||
|
||||
(define-public rust-phf-0.10
|
||||
(package
|
||||
(name "rust-phf")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "phf" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "17s0k0z1rjczk37cpbmn718h7dkqci1kk9w2spbmjjwc06qkvz5r"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-phf-macros" ,rust-phf-macros-0.10)
|
||||
("rust-phf-shared" ,rust-phf-shared-0.10)
|
||||
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
|
||||
(home-page "https://github.com/sfackler/rust-phf")
|
||||
(synopsis "Runtime support for perfect hash function data structures")
|
||||
(description "This package provides runtime support for perfect hash
|
||||
function data structures.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-phf-0.8
|
||||
(package
|
||||
(inherit rust-phf-0.10)
|
||||
(name "rust-phf")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
|
@ -36530,18 +36555,12 @@ (define-public rust-phf-0.8
|
|||
(sha256
|
||||
(base32
|
||||
"04pyv8bzqvw69rd5dynd5nb85py1hf7wa4ixyhrvdz1l5qin3yrx"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
|
||||
("rust-phf-shared" ,rust-phf-shared-0.8)
|
||||
("rust-phf-macros" ,rust-phf-macros-0.8))))
|
||||
(home-page "https://github.com/sfackler/rust-phf")
|
||||
(synopsis "Runtime support for perfect hash function data structures")
|
||||
(description "This package provides runtime support for perfect hash
|
||||
function data structures.")
|
||||
(license license:expat)))
|
||||
("rust-phf-macros" ,rust-phf-macros-0.8))))))
|
||||
|
||||
(define-public rust-phf-0.7
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue