mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: Add rust-serde-macros-0.4.
* gnu/packages/crates-io.scm (rust-serde-macros-0.4): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
be9655d96d
commit
537f998be7
1 changed files with 36 additions and 0 deletions
|
@ -14400,6 +14400,42 @@ (define-public rust-serde-json-1.0
|
|||
"This package provides a JSON serialization file format.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-serde-macros-0.4
|
||||
(package
|
||||
(name "rust-serde-macros")
|
||||
(version "0.4.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "serde_macros" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1717rpncvvyvyrpb7hdjgxpiki9vdgygwv2r3d9aal5n8cm8xi8i"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-cargo-toml
|
||||
(lambda _
|
||||
(substitute* "Cargo.toml"
|
||||
((", path =.*}") "}"))
|
||||
#t)))
|
||||
#:cargo-inputs
|
||||
(("rust-serde-codegen" ,rust-serde-codegen-0.4))
|
||||
#:cargo-development-inputs
|
||||
(("rust-num" ,rust-num-0.2)
|
||||
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
||||
("rust-serde" ,rust-serde-0.4))))
|
||||
(home-page "https://serde.rs")
|
||||
(synopsis
|
||||
"Macros to auto-generate implementations for the serde framework")
|
||||
(description
|
||||
"Macros to auto-generate implementations for the serde framework.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-serde-test-1.0
|
||||
(package
|
||||
(name "rust-serde-test")
|
||||
|
|
Loading…
Reference in a new issue