3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add rust-serde-derive-0.9.

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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-01-26 16:03:36 +03:00 committed by Efraim Flashner
parent 8119352ffa
commit 7881fc114e
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -14298,6 +14298,33 @@ for the serde framework.")
"Macros 1.1 implementation of #[derive(Serialize, Deserialize)]")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-derive-0.9
(package
(inherit rust-serde-derive-1.0)
(name "rust-serde-derive")
(version "0.9.15")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde-derive" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1fkldf0lnl6pwxs00qpyp79m30qmfpi3bk0wm22211ylyikdi3wp"))))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-cargo-toml
(lambda _
(substitute* "Cargo.toml"
((", path =.*}") "}"))
#t)))
#:cargo-inputs
(("rust-quote" ,rust-quote-0.3)
("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14)
("rust-syn" ,rust-syn-0.11))))))
(define-public rust-serde-json-1.0
(package
(name "rust-serde-json")