guix-commits
[Top][All Lists]
Advanced

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

16/22: gnu: Add rust-const-cstr.


From: guix-commits
Subject: 16/22: gnu: Add rust-const-cstr.
Date: Wed, 27 Jul 2022 06:32:29 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 665fb3b1886771a2a842bf7deb88389a77c4cabe
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jul 26 00:50:17 2022 +0200

    gnu: Add rust-const-cstr.
    
    * gnu/packages/crates-io.scm (rust-const-cstr-0.3): 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 0802330a78..da16a6ef15 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12260,6 +12260,25 @@ idiomatic wrappers for Mac OS X's CommonCrypto 
library.")
      "Common path finds the common prefix between a set of paths.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-const-cstr-0.3
+  (package
+    (name "rust-const-cstr")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "const-cstr" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/cybergeek94/const-cstr";)
+    (synopsis "Create static C-compatible strings from Rust string literals")
+    (description
+     "This crate lets you create static C-compatible strings from Rust string
+literals.")
+    (license (list license:expat license:asl2.0))))
+
 ;; This package requires features which are unavailable
 ;; on the stable releases of Rust.
 (define-public rust-compiler-builtins-0.1



reply via email to

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