all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 68554@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
	Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68554] [PATCH v3 4/6] gnu: Add rust-rustc-demangle-capi-0.1.
Date: Thu, 18 Jan 2024 23:40:42 -0500	[thread overview]
Message-ID: <c4a71ab00da69476e459494230aca4a318310dd8.1705639243.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1705639243.git.maxim.cournoyer@gmail.com>

* 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





  parent reply	other threads:[~2024-01-19  4:43 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 22:41 [bug#68554] [PATCH 0/3] Add DMD, the D language reference compiler Maxim Cournoyer
2024-01-18  0:24 ` [bug#68554] [PATCH 1/3] gnu: Add gdc alias Maxim Cournoyer
2024-01-18  0:24 ` [bug#68554] [PATCH 2/3] gnu: gdmd: Replace gdc-11 with " Maxim Cournoyer
2024-01-18  0:24 ` [bug#68554] [PATCH 3/3] gnu: Add dmd Maxim Cournoyer
2024-01-18  3:28 ` [bug#68554] [PATCH v2 0/3] Add DMD, the D language reference compiler Maxim Cournoyer
2024-01-18  3:28   ` [bug#68554] [PATCH v2 1/3] gnu: Add gdc alias Maxim Cournoyer
2024-01-18  3:28   ` [bug#68554] [PATCH v2 2/3] gnu: gdmd: Replace gdc-11 with " Maxim Cournoyer
2024-01-18  3:28   ` [bug#68554] [PATCH v2 3/3] gnu: Add dmd Maxim Cournoyer
2024-01-19  4:40 ` [bug#68554] [PATCH v3 0/6] Add DMD, the D language reference compiler Maxim Cournoyer
2024-01-19  4:40   ` [bug#68554] [PATCH v3 1/6] gnu: Add gdc alias Maxim Cournoyer
2024-01-24 17:20     ` Ludovic Courtès
2024-01-26 20:41       ` bug#68554: " Maxim Cournoyer
2024-01-19  4:40   ` [bug#68554] [PATCH v3 2/6] gnu: gdmd: Replace gdc-11 with " Maxim Cournoyer
2024-01-19  4:40   ` [bug#68554] [PATCH v3 3/6] gnu: Add dmd Maxim Cournoyer
2024-01-19  9:38     ` Efraim Flashner
2024-01-20  4:15       ` Maxim Cournoyer
2024-01-19  4:40   ` Maxim Cournoyer [this message]
2024-01-19  9:38     ` [bug#68554] [PATCH v3 4/6] gnu: Add rust-rustc-demangle-capi-0.1 Efraim Flashner
2024-01-20  4:03       ` Maxim Cournoyer
2024-01-19  4:40   ` [bug#68554] [PATCH v3 5/6] gnu: Add d-demangler Maxim Cournoyer
2024-01-19  4:40   ` [bug#68554] [PATCH v3 6/6] gnu: qt-creator: Add support for demangling D and Rust symbols Maxim Cournoyer
2024-01-19  9:38     ` Efraim Flashner
2024-01-20  4:20       ` Maxim Cournoyer
2024-01-20  4:37 ` [bug#68554] [PATCH v4 0/5] Add DMD, the D language reference compiler Maxim Cournoyer
2024-01-20  4:37   ` [bug#68554] [PATCH v4 1/5] gnu: Add gdc alias Maxim Cournoyer
2024-01-20  4:37   ` [bug#68554] [PATCH v4 2/5] gnu: gdmd: Replace gdc-11 with " Maxim Cournoyer
2024-01-20  4:37   ` [bug#68554] [PATCH v4 3/5] gnu: Add dmd Maxim Cournoyer
2024-01-20  4:37   ` [bug#68554] [PATCH v4 4/5] gnu: Add d-demangler Maxim Cournoyer
2024-01-20  4:37   ` [bug#68554] [PATCH v4 5/5] gnu: qt-creator: Add support for demangling D and Rust symbols Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4a71ab00da69476e459494230aca4a318310dd8.1705639243.git.maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=68554@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.