GNU bug report logs - #49390
[PATCH 09/21] gnu: Add rust-socket2-0.4

Previous Next

Package: guix-patches;

Reported by: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>

Date: Sun, 4 Jul 2021 16:33:07 UTC

Severity: normal

Tags: patch

Merged with 49382, 49383, 49384, 49385, 49386, 49387, 49388, 49389, 49391, 49392, 49393, 49394, 49395, 49396, 49397, 49398, 49399, 49400, 49401, 49402, 49403

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 49390 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>, 49390 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: Re: [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4
Date: Sun, 11 Jul 2021 10:59:57 +0200
[Message part 1 (text/plain, inline)]
On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable.
> ---
>  gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 79937fb40a..055730505b 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -43154,6 +43154,36 @@ maximal amount of configuration possible intended.")
>      (license (list license:asl2.0
>                     license:expat))))
>  
> +(define-public rust-socket2-0.4
> +  (package
> +    (name "rust-socket2")
> +    (version "0.4.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "socket2" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-libc" ,rust-libc-0.2)
> +         ("rust-winapi" ,rust-winapi-0.3))))
> +    (home-page
> +      "https://github.com/rust-lang/socket2")
> +    (synopsis
> +      "Utilities for handling networking sockets with a maximal amount of configuration
> +possible intended.

The synopsis is a bit long, the GitHub repo says

  Advanced configuration options for sockets

maybe we can use that instead?

> +    (description
> +      "Utilities for handling networking sockets with a maximal amount of configuration
> +possible intended.
> +")

Full sentence, and don’t forget line break.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.