aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-05 13:04:16 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-05 13:39:08 +0300
commitbf9d5adef9207b59190229d19624a699f34fd0b5 (patch)
tree5012496361f9338366b02b9def26b7ff9bb746df /gnu
parent9f86a6daa197d3d6f7846d8312b3df00de02e7d7 (diff)
downloadguix-bf9d5adef9207b59190229d19624a699f34fd0b5.tar
guix-bf9d5adef9207b59190229d19624a699f34fd0b5.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6247adad6..a7c7b310d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8333,25 +8333,29 @@ derived from an internal hasher used in FireFox and Rustc.")
(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))))