gnu: Add rust-heck-0.4.

* gnu/packages/crates-io.scm (rust-heck-0.4): New variable.
(rust-heck-0.3): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-29 16:48:11 +01:00
parent 5bec5f1184
commit c2c865e0c3
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -23466,21 +23466,21 @@ (define-public rust-heapsize-plugin-0.1
total runtime size of an object on the heap") total runtime size of an object on the heap")
(license license:mpl2.0))) (license license:mpl2.0)))
(define-public rust-heck-0.3 (define-public rust-heck-0.4
(package (package
(name "rust-heck") (name "rust-heck")
(version "0.3.2") (version "0.4.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "heck" version)) (uri (crate-uri "heck" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "1ygphsnfwl2xpa211vbqkz1db6ri1kvkg8p8sqybi37wclg7fh15"))))
"1b56s2c1ymdd0qmy31bw0ndhm31hcdamnhg3npp7ssrmc1ag9jw7"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build?
#t
#:cargo-inputs #:cargo-inputs
(("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
(home-page "https://github.com/withoutboats/heck") (home-page "https://github.com/withoutboats/heck")
@ -23492,6 +23492,24 @@ (define-public rust-heck-0.3
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-heck-0.3
(package
(inherit rust-heck-0.4)
(name "rust-heck")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "heck" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1b56s2c1ymdd0qmy31bw0ndhm31hcdamnhg3npp7ssrmc1ag9jw7"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
(define-public rust-hermit-abi-0.1 (define-public rust-hermit-abi-0.1
(package (package
(name "rust-hermit-abi") (name "rust-hermit-abi")