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.
This commit is contained in:
Efraim Flashner 2020-01-16 22:34:48 +02:00
parent 6c92f52b2e
commit 759dfa989e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4964,19 +4964,21 @@ (define-public rust-libc-0.2
(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))))