diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-26 16:05:22 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-26 14:00:52 +0200 |
commit | be9655d96d294e1ac9915c30e0d506ad3a8de4db (patch) | |
tree | 86e201a5b6dbf45997a9ac3443f39a3955a0f193 | |
parent | 87c1e7f5c976ba729e8e3cf51a0acfc6d7639408 (diff) | |
download | guix-be9655d96d294e1ac9915c30e0d506ad3a8de4db.tar.gz |
gnu: Add rust-serde-test-0.9.
* gnu/packages/crates-io.scm (rust-serde-test-0.9): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2005b81fd1..2041e0e3cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14428,6 +14428,30 @@ for the serde framework.") "Token De/Serializer for testing De/Serialize implementations.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-test-0.9 + (package + (inherit rust-serde-test-1.0) + (name "rust-serde-test") + (version "0.9.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_test" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-cargo-toml + (lambda _ + (substitute* "Cargo.toml" + ((", path =.*}") "}")) + #t))) + #:cargo-inputs (("rust-serde" ,rust-serde-0.9)))))) + (define-public rust-serde-test-0.8 (package (inherit rust-serde-test-1.0) |