summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-12 13:03:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-12 13:25:39 +0300
commit1bea13cbd5cc9251d4b1d9040032ff1235c672a4 (patch)
treec1fa74d3471d834762cacbf9823a7079332d4029
parentb01644cf5363431f13a5b54070c970b69a74a344 (diff)
gnu: rust-xml-rs-0.7: Downgrade to 0.7.0.
0.7.1 was pulled by upstream. * gnu/packages/crates-io.scm (rust-xml-rs-0.7): Downgrade to 0.7.0. [source]: Remove snippet. [arguments]: Only test the libs. In cargo-inputs remove rust-doc-comment-0.3, rust-lazy-static-1, add rust-bitflags-1.
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 5 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cd1f2de8f5..ab571dd8cc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32457,7 +32457,7 @@ to XDG Base Directory specification.")
(define-public rust-xml-rs-0.7
(package
(name "rust-xml-rs")
- (version "0.7.1")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
@@ -32466,19 +32466,12 @@ to XDG Base Directory specification.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1wv7izl41jf3ylhqhw23y1h0m729v2g5k4mgfw72v4kmgvvawiin"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; 'doctest' isn't stable until rust-1.40
- (substitute* "src/lib.rs"
- (("\\(doctest") "(test"))
- #t))))
+ "1hp9kf80y9qm3aiqg5psyshqfkcrjgifbcm2c2nc5qlzs80vc71w"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-development-inputs
- (("rust-doc-comment" ,rust-doc-comment-0.3)
- ("rust-lazy-static" ,rust-lazy-static-1))))
+ `(#:cargo-test-flags '("--release" "--lib")
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1))))
(home-page "https://github.com/netvl/xml-rs")
(synopsis "XML library in pure Rust")
(description "An XML library in pure Rust.")