gnu: Add rust-as-variant-1.
* gnu/packages/crates-io.scm (rust-as-variant-1): Add variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
6ed7223acb
commit
0a265b43c6
1 changed files with 19 additions and 0 deletions
|
|
@ -3267,6 +3267,25 @@ the abi_stable and structural crates.")
|
||||||
("rust-serde-derive" ,rust-serde-derive-1)
|
("rust-serde-derive" ,rust-serde-derive-1)
|
||||||
("rust-syn" ,rust-syn-1))))))
|
("rust-syn" ,rust-syn-1))))))
|
||||||
|
|
||||||
|
(define-public rust-as-variant-1
|
||||||
|
(package
|
||||||
|
(name "rust-as-variant")
|
||||||
|
(version "1.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "as_variant" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "13vryhfcslf50f8j1msnxg5689bzwz56z45dgzxqd7r40wis53zk"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(home-page "https://github.com/jplatte/as_variant")
|
||||||
|
(synopsis "Macro to convert enums with newtype variants to Option")
|
||||||
|
(description
|
||||||
|
"This package provides a simple macro to convert enums with newtype
|
||||||
|
variants to `Option`s.")
|
||||||
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
(define-public rust-asio-sys-0.2
|
(define-public rust-asio-sys-0.2
|
||||||
(package
|
(package
|
||||||
(name "rust-asio-sys")
|
(name "rust-asio-sys")
|
||||||
|
|
|
||||||
Reference in a new issue