diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-02-06 22:05:30 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-06 23:16:16 +0200 |
commit | b45bcc709b4559b689d58d821a993c7bf3754da1 (patch) | |
tree | fbe84df7554e09cb5d1263789cd38e795947cef2 /gnu | |
parent | d47c989baf5ea6ee9bb1e72718f5a103bc373c06 (diff) | |
download | guix-b45bcc709b4559b689d58d821a993c7bf3754da1.tar.gz |
gnu: Add rust-serde-test-0.8.
* gnu/packages/crates-io.scm (rust-serde-test-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 45b17fa690..db631e1aab 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10614,6 +10614,29 @@ proven statistical guarantees.") "Token De/Serializer for testing De/Serialize implementations.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-test-0.8 + (package + (inherit rust-serde-test-1.0) + (name "rust-serde-test") + (version "0.8.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1m939j7cgs7i58r6vxf0ffp3nbr8advr8p9dqa9w8zk0z2yks2qi")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-0.8)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-Cargo-toml + (lambda _ + (substitute* "Cargo.toml" + ((", path = \"../serde\"") "")) + #t))))))) + (define-public rust-serde-yaml-0.8 (package (name "rust-serde-yaml") |