guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/26: gnu: Add rust-link-cplusplus-1.


From: guix-commits
Subject: 13/26: gnu: Add rust-link-cplusplus-1.
Date: Sun, 3 Jan 2021 06:01:31 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 9ef6055c00233973adde5e55f7d89beb87a77622
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 3 12:10:23 2021 +0200

    gnu: Add rust-link-cplusplus-1.
    
    * gnu/packages/crates-io.scm (rust-link-cplusplus-1): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a12d611..2f3d7b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15226,6 +15226,28 @@ libraries have.
      "Efficiently insert line separators.")
     (license license:asl2.0)))
 
+(define-public rust-link-cplusplus-1
+  (package
+    (name "rust-link-cplusplus")
+    (version "1.0.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "link-cplusplus" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0m7365ig7r88x7b4gkzj5m7b6wiq42pi1ign7mvyq63jr22sfspr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1))))
+    (home-page "https://github.com/dtolnay/link-cplusplus";)
+    (synopsis "Link libstdc++ or libc++ automatically or manually")
+    (description "This crate helps link to libstdc++ or libc++ automatically or
+manually from Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-linked-hash-map-0.5
   (package
     (name "rust-linked-hash-map")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]