summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-11 18:08:04 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-11 20:23:17 +0200
commitec88cbbf521596af34c63a58fd2cf8b6d0b5abe0 (patch)
tree78851c67babba0a8e302252b2e8f0a724f327d52 /gnu/packages
parent1ceb84e57faf9f3577ae2a67c95ecd5d8774ddc8 (diff)
downloadguix-ec88cbbf521596af34c63a58fd2cf8b6d0b5abe0.tar.gz
gnu: rust-socket2-0.3: Don't hide package.
* gnu/packages/crates-io.scm (rust-socket2-0.3)[arguments]: Skip tests.
Add rust-cfg-if-0.1, rust-libc-0.2, rust-redox-syscall-0.1,
rust-winapi-0.3 to cargo-inputs. Add rust-tempdir-0.3 to
cargo-development-inputs.
[properties]: Remove field.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 414cf71d3c..f144e47ce9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11568,12 +11568,20 @@ stack.")
          (base32
           "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; tests require network access
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))
     (home-page "https://github.com/alexcrichton/socket2-rs")
     (synopsis "Networking sockets in Rust")
     (description
      "This package provides utilities for handling networking sockets with a
 maximal amount of configuration possible intended.")
-    (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))