Subject: [bug#54644] [PATCH 4/7] gnu: rust-minimal-lexical 0.2: Update to 0.2.1.

From: Efraim Flashner <[email-masked]>
Date: Thu, 31 Mar 2022 17:47:45 +0300

On Thu, Mar 31, 2022 at 02:01:31PM +0200, Maxime Devos wrote:
> Evgenii Lepikhin via Guix-patches via schreef op do 31-03-2022 om 00:35
> [+0300]:
> > +(define-public rust-minimal-lexical-0.2
> > +  (package
> > +    (name "rust-minimal-lexical")
> > +    (version "0.2.1")
> > +    (source
> > +      (origin
> > +        (method url-fetch)
> > +        (uri (crate-uri "minimal-lexical" version))
> > +        (file-name (string-append name "-" version ".tar.gz"))
> > +        (sha256
> > +         (base32 "16ppc5g84aijpri4jzv14rvcnslvlpphbszc7zzp6vfkddf4qdb8"))))
> > +    (build-system cargo-build-system)
> > +    (home-page "https://github.com/Alexhuszagh/minimal-lexical")
> > +    (synopsis "Fast float parsing conversion routines")
> > +    (description "Fast float parsing conversion routines.")
> > +    (license (list license:expat license:asl2.0))))
> > +
> >  (define-public rust-minimal-lexical-0.1
> >    (package
> >      (name "rust-minimal-lexical")
> 
> Instead of defining a new package, WDYT renaming 'rust-minimal-lexical-
> 0.1' to 'rust-minimal-lexical' and updating it to 0.2?  If so, you'll
> have to check if rust-nom@7 still builds.

semver is very strongly followed in the rust community, so 0.1 isn't
necessarily compatible with 0.2. That's how we've ended up with the
numerical suffix on all the rust packages.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted