guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 22/29: gnu: rust-gcc-0.3: Don't hide package.
Date: Mon, 5 Oct 2020 06:43:43 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit bf9d5adef9207b59190229d19624a699f34fd0b5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 5 13:04:16 2020 +0300

    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.
---
 gnu/packages/crates-io.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

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



reply via email to

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