gnu: Add rust-derive-builder-0.9.
* gnu/packages/crates-io.scm (rust-derive-builder-0.9, rust-derive-builder-core-0.9): New variables. (rust-derive-builder-0.5, rust-derive-builder-core-0.2): Inherit from newer versions.master
parent
b20099df8c
commit
5f4f5edd61
|
@ -5462,8 +5462,42 @@ and arithmetic.")
|
|||
(description "Demo of proc-macro-hack.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-derive-builder-0.9
|
||||
(package
|
||||
(name "rust-derive-builder")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "derive-builder" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1h4f8vnggmpyw27fznl3cpyjrzz1nw5xrxx6ca3zcb3z54hqcrd2"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
|
||||
("rust-darling" ,rust-darling-0.10)
|
||||
("rust-derive-builder-core" ,rust-derive-builder-core-0.9)
|
||||
("rust-env-logger" ,rust-env-logger-0.5)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-skeptic" ,rust-skeptic-0.13)
|
||||
("rust-syn" ,rust-syn-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
|
||||
(home-page "https://github.com/colin-kiegel/rust-derive-builder")
|
||||
(synopsis "Builder pattern for arbitrary structs")
|
||||
(description "Rust macro to automatically implement the builder pattern
|
||||
for arbitrary structs.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-derive-builder-0.5
|
||||
(package
|
||||
(inherit rust-derive-builder-0.9)
|
||||
(name "rust-derive-builder")
|
||||
(version "0.5.1")
|
||||
(source
|
||||
|
@ -5473,7 +5507,6 @@ and arithmetic.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0fgl8dsigr7h70clxjq8xmsfc021w5ag262wfgcqv0ian1m8x6cc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
|
||||
|
@ -5487,15 +5520,40 @@ and arithmetic.")
|
|||
(("rust-env-logger" ,rust-env-logger-0.4)
|
||||
("rust-log" ,rust-log-0.3)
|
||||
("rust-pretty-assertions" ,rust-pretty-assertions-0.2)
|
||||
("rust-skeptic" ,rust-skeptic-0.9))))
|
||||
("rust-skeptic" ,rust-skeptic-0.9))))))
|
||||
|
||||
(define-public rust-derive-builder-core-0.9
|
||||
(package
|
||||
(name "rust-derive-builder-core")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "derive-builder-core" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1vwb8nwls4lhd2yiyj87kmwws4mmfqfrjcr0pk09b11c6wzfm497"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-darling" ,rust-darling-0.10)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
|
||||
(home-page "https://github.com/colin-kiegel/rust-derive-builder")
|
||||
(synopsis "Builder pattern for arbitrary structs")
|
||||
(description "Rust macro to automatically implement the builder pattern
|
||||
for arbitrary structs.")
|
||||
(license (list license:expat license:asl2.0))) )
|
||||
(synopsis "Internal helper library for @code{rust-derive-builder}")
|
||||
(description
|
||||
"Internal helper library for @code{rust-derive-builder}.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-derive-builder-core-0.2
|
||||
(package
|
||||
(inherit rust-derive-builder-core-0.9)
|
||||
(name "rust-derive-builder-core")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
|
@ -5505,18 +5563,13 @@ for arbitrary structs.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0mxpl1ja3l60w1v5vr3733hr5mcpds2hfl6shrmy3a2zkvp28pkk"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-log" ,rust-log-0.3)
|
||||
("rust-quote" ,rust-quote-0.3)
|
||||
("rust-syn" ,rust-syn-0.11))
|
||||
#:cargo-development-inputs
|
||||
(("rust-pretty-assertions" ,rust-pretty-assertions-0.2))))
|
||||
(home-page "https://github.com/colin-kiegel/rust-derive-builder")
|
||||
(synopsis "Internal helper library for the derive_builder crate")
|
||||
(description "Internal helper library for the derive_builder crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
(("rust-pretty-assertions" ,rust-pretty-assertions-0.2))))))
|
||||
|
||||
(define-public rust-derive-more-0.99
|
||||
(package
|
||||
|
|
Reference in New Issue