guix-commits
[Top][All Lists]
Advanced

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

08/12: gnu: rust-libc-0.2: Don't hide package.


From: guix-commits
Subject: 08/12: gnu: rust-libc-0.2: Don't hide package.
Date: Fri, 17 Jan 2020 02:54:19 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 759dfa989e5f5fbc91ac618243333112c641cf15
Author: Efraim Flashner <address@hidden>
AuthorDate: Thu Jan 16 22:34:48 2020 +0200

    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(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8879096..8f62e89 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))))
 



reply via email to

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