From 285b8b5098a9f0a82a90a9fc7e0c8ca39aca9428 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:27 +0300 Subject: [PATCH] gnu: Add rust-phf-0.9. * gnu/packages/crates-io.scm (rust-phf-0.9): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2bcbd187ac..465e8793e0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43928,6 +43928,25 @@ function data structures.") ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) ("rust-serde" ,rust-serde-1)))))) +(define-public rust-phf-0.9 + (package + (inherit rust-phf-0.10) + (name "rust-phf") + (version "0.9.1") + (source (origin + (method url-fetch) + (uri (crate-uri "phf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sk9arhiv4hkg3hbmbxnpjvr0bffhyz7kpb2pn86mn6ia4c566xj")))) + (arguments + `(#:tests? #f ; Doc tests fail. + #:cargo-inputs + (("rust-phf-macros" ,rust-phf-macros-0.9) + ("rust-phf-shared" ,rust-phf-shared-0.9) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))))) + (define-public rust-phf-0.8 (package (inherit rust-phf-0.10)