unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: ng0 <ng0@libertad.pw>
Cc: 25281@debbugs.gnu.org
Subject: bug#25281: rust importer duplicates input
Date: Fri, 02 Jul 2021 10:52:56 +0200	[thread overview]
Message-ID: <85im1t85cn.fsf@gmail.com> (raw)
In-Reply-To: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (ng0@libertad.pw's message of "Tue, 27 Dec 2016 16:10:40 +0000")

Hi,

On mar., 27 déc. 2016 at 16:10, ng0 <ng0@libertad.pw> wrote:

> ng0@wasp ~$ guix import crate net2
> following redirection to `https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.26.crate'...
> (package
>   (name "rust-net2")
>   (version "0.2.26")
>   (source
>     (origin
>       (method url-fetch)
>       (uri (crate-uri "net2" version))
>       (file-name
>         (string-append name "-" version ".tar.gz"))
>       (sha256
>         (base32
>           "1qp3q6xynb481rsp3ig1nmqb6qlxfba3shfrmqij88cppsv9rpsy"))))
>   (build-system cargo-build-system)
>   (inputs
>     `(("rust-cfg-if" ,rust-cfg-if)
>       ("rust-kernel32-sys" ,rust-kernel32-sys)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-winapi" ,rust-winapi)
>       ("rust-ws2-32-sys" ,rust-ws2-32-sys)))
>   (home-page
>     "https://github.com/rust-lang-nursery/net2-rs")
>   (synopsis
>     "Extensions to the standard library's networking types as proposed in RFC 1158.
> ")
>   (description
>     "Extensions to the standard library's networking types as proposed in RFC 1158.
> ")
>   (license (list license:expat license:asl2.0)))

Using Guix 3694c0d, I get this:

--8<---------------cut here---------------start------------->8---
$ guix import crate net2
(define-public rust-net2-0.2
  (package
    (name "rust-net2")
    (version "0.2.37")
    (source
      (origin
        (method url-fetch)
        (uri (crate-uri "net2" version))
        (file-name
          (string-append name "-" version ".tar.gz"))
        (sha256
          (base32
            "1bk8jp0i12gvhrlaqbfq19ancja70r1rg3sywbhjl0385g8k05ir"))))
    (build-system cargo-build-system)
    (arguments
      `(#:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))
    (home-page
      "https://github.com/deprecrated/net2-rs")
    (synopsis
      "Extensions to the standard library's networking types as proposed in RFC 1158.
")
    (description
      "Extensions to the standard library's networking types as proposed in RFC 1158.
")
    (license (list license:expat license:asl2.0))))
--8<---------------cut here---------------end--------------->8---

Therefore, I think this bug report can be close.  WDYT?


All the best,
simon




  parent reply	other threads:[~2021-07-02 10:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27 16:10 bug#25281: rust importer duplicates input ng0
2016-12-28  0:01 ` David Craven
2016-12-28 12:06   ` Ricardo Wurmus
2016-12-28 20:51     ` David Craven
2021-07-02  8:52 ` zimoun [this message]
2021-07-03  7:54   ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85im1t85cn.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=25281@debbugs.gnu.org \
    --cc=ng0@libertad.pw \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).