Message ID | c4a71ab00da69476e459494230aca4a318310dd8.1705639243.git.maxim.cournoyer@gmail.com |
---|---|
State | New |
Headers | show |
Series | Add DMD, the D language reference compiler. | expand |
This package looks good to me On Thu, Jan 18, 2024 at 11:40:42PM -0500, Maxim Cournoyer wrote: > * gnu/packages/crates-io.scm (rust-rustc-demangle-capi-0.1): New variable. > > Change-Id: I98afb19ed4bdbcb9107a1ab30af49b055802b8b0 > --- > > (no changes since v1) > > gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index 1bfd8fb143..43d9e3cd60 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -64836,6 +64836,37 @@ (define-public rust-rustc-demangle-0.1 > (license (list license:asl2.0 > license:expat)))) > > +(define-public rust-rustc-demangle-capi-0.1 > + (package > + (name "rust-rustc-demangle-capi") > + (version "0.1.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "rustc-demangle-capi" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 "1s2g4z1yrh1sxl4qkmpd19ss3x2lr9115vbir7pnhgy63r1d63yv")))) > + (build-system cargo-build-system) > + (arguments > + (list > + #:cargo-inputs `(("rust-rustc-demangle" ,rust-rustc-demangle-0.1)) > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'install 'install-c-library > + (lambda _ > + (install-file > + (car (find-files "." "^rustc_demangle\\.h$")) > + (string-append #$output "/include")) > + (install-file > + (car (find-files "." "^librustc_demangle.so$")) > + (string-append #$output "/lib"))))))) > + (home-page "https://github.com/alexcrichton/rustc-demangle") > + (synopsis "C API for the @code{rustc-demangle} crate") > + (description "This package provides a C API library for the > +@code{rustc-demangle} crate.") > + (license (list license:expat license:asl2.0)))) > + > (define-public rust-rustc-hash-1 > (package > (name "rust-rustc-hash") > -- > 2.41.0 > > >
Hi Efraim,
Efraim Flashner <efraim@flashner.co.il> writes:
> This package looks good to me
I pushed just this one. Will send a v2 for the rest.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1bfd8fb143..43d9e3cd60 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64836,6 +64836,37 @@ (define-public rust-rustc-demangle-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-demangle-capi-0.1 + (package + (name "rust-rustc-demangle-capi") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-demangle-capi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s2g4z1yrh1sxl4qkmpd19ss3x2lr9115vbir7pnhgy63r1d63yv")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-rustc-demangle" ,rust-rustc-demangle-0.1)) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-c-library + (lambda _ + (install-file + (car (find-files "." "^rustc_demangle\\.h$")) + (string-append #$output "/include")) + (install-file + (car (find-files "." "^librustc_demangle.so$")) + (string-append #$output "/lib"))))))) + (home-page "https://github.com/alexcrichton/rustc-demangle") + (synopsis "C API for the @code{rustc-demangle} crate") + (description "This package provides a C API library for the +@code{rustc-demangle} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-hash-1 (package (name "rust-rustc-hash")