gnu: Add rust-serde-repr-0.1.

* gnu/packages/crates-io.scm (rust-serde-repr-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
aecepoglu 2021-02-04 14:37:52 +03:00 committed by Nicolas Goaziou
parent e840c7aaf1
commit 5a499ebcfa
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -31989,6 +31989,32 @@ (define-public rust-serde-qs-0.7
commonly used by Ruby on Rails via Rack.")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-repr-0.1
(package
(name "rust-serde-repr")
(version "0.1.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_repr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0xhwamlb1ax3w87mpq0awcphwchprh93y1hb47rm3c0p3favgiid"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/dtolnay/serde-repr")
(synopsis "Serialize and deserialize C-like enum as underlying repr")
(description
"This crate provides a derive macro to derive Serde's @code{Serialize}
and @code{Deserialize} traits in a way that delegates to the underlying repr
of a C-like enum.")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-stacker-0.1
(package
(name "rust-serde-stacker")