From 759dfa989e5f5fbc91ac618243333112c641cf15 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:34:48 +0200 Subject: gnu: rust-libc-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-libc-0.2)[arguments]: Skip build. Add rust-rustc-std-workspace-core-1.0 to cargo-inputs. [description]: Appease 'guix lint'. [properties]: Remove field. --- gnu/packages/crates-io.scm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8879096115..8f62e89a75 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4964,19 +4964,21 @@ requires non-const function calls to be computed.") (base32 "1s14bjxnz6haw0gr1h3j4sr7s2s407hpgm8dxhwnl7yzgxia0c8s")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)))) (home-page "https://github.com/rust-lang/libc") (synopsis "Raw FFI bindings to platform libraries like libc") (description - "libc provides all of the definitions necessary to easily -interoperate with C code (or \"C-like\" code) on each of the platforms -that Rust supports. This includes type definitions (e.g., c_int), -constants (e.g., EINVAL) as well as function headers (e.g., malloc). + "The rust libc crate provides all of the definitions necessary to easily +interoperate with C code (or \"C-like\" code) on each of the platforms that Rust +supports. This includes type definitions (e.g., c_int), constants (e.g., EINVAL) +as well as function headers (e.g., malloc). -This crate exports all underlying platform types, functions, and -constants under the crate root, so all items are accessible as -@samp{libc::foo}. The types and values of all the exported APIs match -the platform that libc is compiled for.") - (properties '((hidden? . #t))) +This crate exports all underlying platform types, functions, and constants under +the crate root, so all items are accessible as @samp{libc::foo}. The types and +values of all the exported APIs match the platform that libc is compiled for.") (license (list license:expat license:asl2.0)))) -- cgit v1.2.3