mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add rust-clap-derive-4.
* gnu/packages/crates-io.scm (rust-clap-derive-4): New variable. (rust-clap-derive-3): Inherit from rust-clap-derive-4.
This commit is contained in:
parent
315a30e55c
commit
e4edd20999
1 changed files with 27 additions and 7 deletions
|
@ -11031,8 +11031,34 @@ (define-public rust-clap-conf-0.1
|
|||
how to behave across the three main input sources")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-clap-derive-4
|
||||
(package
|
||||
(name "rust-clap-derive")
|
||||
(version "4.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "clap_derive" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1s4c4005xsdw5zlq8z5h02mgjcsqgcd1ydxg6iird49fcxyjfjk8"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:cargo-inputs
|
||||
`(("rust-heck" ,rust-heck-0.4)
|
||||
("rust-proc-macro-error" ,rust-proc-macro-error-1)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(home-page "https://clap.rs/")
|
||||
(synopsis "Procedural macro crate for Clap")
|
||||
(description
|
||||
"This package provides the procedural macro crate for Clap.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-clap-derive-3
|
||||
(package
|
||||
(inherit rust-clap-derive-4)
|
||||
(name "rust-clap-derive")
|
||||
(version "3.2.18")
|
||||
(source
|
||||
|
@ -11042,7 +11068,6 @@ (define-public rust-clap-derive-3
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0r9az0cl33xx0i9g18l56l3vd5ayjvcflvza2gdf8jwcab78n37a"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -11051,12 +11076,7 @@ (define-public rust-clap-derive-3
|
|||
,rust-proc-macro-error-1)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(home-page "https://clap.rs/")
|
||||
(synopsis "Procedural macro crate for Clap")
|
||||
(description
|
||||
"This package provides the procedural macro crate for Clap.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-clap-3
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue