gnu: Add rust-smart-default-0.7.
* gnu/packages/crates-io.scm (rust-smart-default-0.7): New variable. ((rust-smart-default-0.6): Inherit from rust-smart-default-0.7.
This commit is contained in:
parent
bf3279cf3c
commit
6979b8a6f0
1 changed files with 26 additions and 8 deletions
|
@ -59345,8 +59345,33 @@ stack.")
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-bincode" ,rust-bincode-1))))))
|
(("rust-bincode" ,rust-bincode-1))))))
|
||||||
|
|
||||||
|
(define-public rust-smart-default-0.7
|
||||||
|
(package
|
||||||
|
(name "rust-smart-default")
|
||||||
|
(version "0.7.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "smart-default" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1hgzs1250559bpayxmn46gzas5ycqn39wkf4srjgqh4461k1ic0f"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-2))))
|
||||||
|
(home-page "https://github.com/idanarye/rust-smart-default")
|
||||||
|
(synopsis "Custom-derive macro for Default with more control on the fields")
|
||||||
|
(description
|
||||||
|
"This package provides a custom-derive macro for Default with more
|
||||||
|
control on the fields.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-smart-default-0.6
|
(define-public rust-smart-default-0.6
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-smart-default-0.7)
|
||||||
(name "rust-smart-default")
|
(name "rust-smart-default")
|
||||||
(version "0.6.0")
|
(version "0.6.0")
|
||||||
(source
|
(source
|
||||||
|
@ -59356,19 +59381,12 @@ stack.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1xnvxz9wilj4d5b8kg4wbs0yk48wm41fnwkmn3p6wi9rafhmjdhk"))))
|
(base32 "1xnvxz9wilj4d5b8kg4wbs0yk48wm41fnwkmn3p6wi9rafhmjdhk"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-syn" ,rust-syn-1))))
|
("rust-syn" ,rust-syn-1))))))
|
||||||
(home-page "https://github.com/idanarye/rust-smart-default")
|
|
||||||
(synopsis "Custom-derive macro for Default with more control on the fields")
|
|
||||||
(description
|
|
||||||
"This package provides a custom-derive macro for Default with more
|
|
||||||
control on the fields.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-smartstring-1
|
(define-public rust-smartstring-1
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue