@@ -12991,6 +12991,86 @@ (define-public rust-clap-derive-3
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-clap-derive-4.3
+ (package
+ (name "rust-clap-derive")
+ (version "4.3.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l50j37jwbzfl29bd2a1ib7z1jpch4b9868himrgwpgwb1bvpaal"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/clap-rs/clap")
+ (synopsis "Parse command line argument by defining a struct, derive crate")
+ (description
+ "This package provides Parse command line argument by defining a struct, derive crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-clap-builder-4.3
+ (package
+ (name "rust-clap-builder")
+ (version "4.3.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap_builder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03l6d45csywv8xazs44jwy1hk2jbvznn7mj8dw7p93bdq5mykljy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anstream" ,rust-anstream-0.3)
+ ("rust-anstyle" ,rust-anstyle-1)
+ ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-clap-lex" ,rust-clap-lex-0.5)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-strsim" ,rust-strsim-0.10)
+ ("rust-terminal-size" ,rust-terminal-size-0.2)
+ ("rust-unicase" ,rust-unicase-2)
+ ("rust-unicode-width" ,rust-unicode-width-0.1.13))))
+ (home-page "https://github.com/clap-rs/clap")
+ (synopsis
+ "simple to use, efficient, and full-featured Command Line Argument Parser")
+ (description
+ "This package provides a simple to use, efficient, and full-featured Command Line
+Argument Parser.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-clap-4.3
+ (package
+ (name "rust-clap")
+ (version "4.3.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11z4695sw0kp1s4rfnfdgg19n6xllcp297z5mmx0s344qy0hwsgv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-clap-builder" ,rust-clap-builder-4.3)
+ ("rust-clap-derive" ,rust-clap-derive-4.3)
+ ("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/clap-rs/clap")
+ (synopsis
+ "simple to use, efficient, and full-featured Command Line Argument Parser")
+ (description
+ "This package provides a simple to use, efficient, and full-featured Command Line
+Argument Parser.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-clap-4
(package
(name "rust-clap")