From cce229546c924d25b91ad84769982a8ef1a1e0f4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 15 Jun 2021 12:33:52 +0200 Subject: gnu: Add rust-cstr-core-0.2. * gnu/packages/crates-io.scm (rust-cstr-core-0.2): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b6a8e2ce56..3436d19240 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11005,6 +11005,29 @@ reallocations.") "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) +(define-public rust-cstr-core-0.2 + (package + (name "rust-cstr-core") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cstr_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fymp34mv7bix8m35pw3qs30b7879wmaym03ihfbzdl84plwa1r8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cty" ,rust-cty-0.2) + ("rust-memchr" ,rust-memchr-2)))) + (home-page "https://github.com/Amanieu/cstr_core") + (synopsis "Implementation of CStr and CString for no_std environments") + (description + "This crates implements CStr and CString for no_std environments.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ct-logs-0.8 (package (name "rust-ct-logs") -- cgit v1.2.3