From d1e77d69c1e04f402cec2e63553c001b1a4664ed Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 30 May 2020 22:52:36 +0300 Subject: gnu: rust-xml-rs-0.8: Fix build. * gnu/packages/crates-io.scm (rust-xml-rs-0.8)[source]: Add snippet to change doctests into regular tests. --- gnu/packages/crates-io.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2c4c6d4bb6..9a88708227 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27443,7 +27443,14 @@ to XDG Base Directory specification") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0c905wsmk995xypxljpxzq6vv660r1pzgyrpsfiz13kw3hf0dzcs")))) + "0c905wsmk995xypxljpxzq6vv660r1pzgyrpsfiz13kw3hf0dzcs")) + (modules '((guix build utils))) + (snippet + '(begin + ;; 'doctest' isn't stable until rust-1.40 + (substitute* "src/lib.rs" + (("\\(doctest") "(test")) + #t)))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs -- cgit v1.2.3 From a2437468160ca933554c63531d51b3cf8624c389 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 30 May 2020 23:03:47 +0300 Subject: gnu: rust-xml-rs-0.8: Update to 0.8.3. * gnu/packages/crates-io.scm (rust-mlx-rs-0.8): Update to 0.8.3. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9a88708227..a7d0b718a1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27434,7 +27434,7 @@ to XDG Base Directory specification") (define-public rust-xml-rs-0.8 (package (name "rust-xml-rs") - (version "0.8.1") + (version "0.8.3") (source (origin (method url-fetch) @@ -27443,7 +27443,7 @@ to XDG Base Directory specification") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0c905wsmk995xypxljpxzq6vv660r1pzgyrpsfiz13kw3hf0dzcs")) + "12ndxyhzxw2zdr76ql8nfdwb2vwhvdkrxwk4pbjafqfglmjv0zdh")) (modules '((guix build utils))) (snippet '(begin -- cgit v1.2.3