diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-26 16:04:07 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-26 14:00:52 +0200 |
commit | 1516f20a2708255ba694e33582b3592c8eb6991e (patch) | |
tree | fe1173a1d0073247d1eb68699e6d63b6fe4fcbec | |
parent | 7881fc114efcd4c107d0d8cbb55729b67ec4e8b3 (diff) | |
download | guix-1516f20a2708255ba694e33582b3592c8eb6991e.tar guix-1516f20a2708255ba694e33582b3592c8eb6991e.tar.gz |
gnu: Add rust-serde-0.9.
* gnu/packages/crates-io.scm (rust-serde-0.9): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3a8c043a80..e1ca2bdac2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14097,6 +14097,33 @@ proven statistical guarantees.") "This package provides a generic serialization/deserialization framework.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-0.9 + (package + (inherit rust-serde-1.0) + (name "rust-serde") + (version "0.9.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-cargo-toml + (lambda _ + (substitute* "Cargo.toml" + ((", path =.*}") "}")) + #t))) + #:cargo-inputs + (("rust-serde-derive" ,rust-serde-derive-0.9)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-0.9)))))) + (define-public rust-serde-0.8 (package (inherit rust-serde-1.0) |