gnu: rust-gcc-0.3: Don't hide package.

* gnu/packages/crates-io.scm (rust-gcc-0.3): Don't inherit from
rust-cc-1.
[arguments]: Skip tests. Add rust-rayon-0.8 to cargo-inputs,
rust-tempdir-0.3 to cargo-development-inputs.
[properties]: Remove field.
This commit is contained in:
Efraim Flashner 2020-10-05 13:04:16 +03:00
parent 9f86a6daa1
commit bf9d5adef9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -8333,25 +8333,29 @@ (define-public rust-fxhash-0.2
(define-public rust-gcc-0.3
(package
(inherit rust-cc-1)
(name "rust-gcc")
(version "0.3.55")
(source
(origin
(method url-fetch)
(uri (crate-uri "gcc" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1hng1sajn4r67hndvhjysswz8niayjwvcj42zphpxzhbz89kjpwg"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; gcc-test folder missing from release tarball.
#:cargo-inputs
(("rust-rayon" ,rust-rayon-0.8))
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3))))
(home-page "https://github.com/alexcrichton/cc-rs")
(synopsis "Library to compile C/C++ code into a Rust library/application")
(description
"This package provides a build-time dependency for Cargo build scripts to
assist in invoking the native C compiler to compile native C code into a static
archive to be linked into Rustcode.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))