aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-26 00:50:17 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:25 +0200
commit665fb3b1886771a2a842bf7deb88389a77c4cabe (patch)
tree6c6ab17b519c87ba8a19bd2fe9dbd62216a3789f /gnu
parent28364584af22b9367615b08c77e81474d255d641 (diff)
downloadguix-665fb3b1886771a2a842bf7deb88389a77c4cabe.tar
guix-665fb3b1886771a2a842bf7deb88389a77c4cabe.tar.gz
gnu: Add rust-const-cstr.
* gnu/packages/crates-io.scm (rust-const-cstr-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
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