Message ID | f0335ca876d4f61c2207354e6a3e234cc5777e5e.1704347462.git.jaeme@runbox.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
Hi Jaeme, Efraim, Jaeme Sifat <jaeme@runbox.com> writes: > * gnu/packages/crates-io.scm (rust-databake-0.1): New variable. > > Change-Id: I8cd9208d9ac904c66de451d4a6f480d7eb1f4d73 > --- > gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index 74321780ef..aba8711bc7 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -18567,6 +18567,35 @@ (define-public rust-dashmap-3 > (setenv "RUSTC_BOOTSTRAP" "1") > #t))))))) > > +(define-public rust-databake-0.1 > + (package > + (name "rust-databake") > + (version "0.1.7") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "databake" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 "0flmvn7ym0sz6mkh5mg08vcbxa6kjiknhj9bpspww54lwrr5s5w2")))) > + (build-system cargo-build-system) > + (arguments > + `(#:cargo-test-flags > + '("--release" "--" > + "--skip=src/lib.rs - (line 27)" > + "--skip=src/lib.rs - (line 46)") ; Faulty module import of `bake.' Thanks for adding a comment, but it's still unclear why this is so. The bake module is provided by this very library, right? I'm not knowledgeable about Rust, but there's surely a variable we could set to have it discover by rust? Efraim, would you know?
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 74321780ef..aba8711bc7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18567,6 +18567,35 @@ (define-public rust-dashmap-3 (setenv "RUSTC_BOOTSTRAP" "1") #t))))))) +(define-public rust-databake-0.1 + (package + (name "rust-databake") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "databake" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0flmvn7ym0sz6mkh5mg08vcbxa6kjiknhj9bpspww54lwrr5s5w2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=src/lib.rs - (line 27)" + "--skip=src/lib.rs - (line 46)") ; Faulty module import of `bake.' + #:cargo-inputs + (("rust-databake-derive" ,rust-databake-derive-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis + "Library for representing structs as @code{const} expressions") + (description + "This package provides traits that let structs represent themselves as +@code{const} Rust expressions.") + (license license:unicode))) + (define-public rust-databake-derive-0.1 (package (name "rust-databake-derive")