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.
This commit is contained in:
Efraim Flashner 2020-10-12 13:03:30 +03:00
parent b01644cf53
commit 1bea13cbd5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -32457,7 +32457,7 @@ to XDG Base Directory specification.")
(define-public rust-xml-rs-0.7 (define-public rust-xml-rs-0.7
(package (package
(name "rust-xml-rs") (name "rust-xml-rs")
(version "0.7.1") (version "0.7.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -32466,19 +32466,12 @@ to XDG Base Directory specification.")
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1wv7izl41jf3ylhqhw23y1h0m729v2g5k4mgfw72v4kmgvvawiin")) "1hp9kf80y9qm3aiqg5psyshqfkcrjgifbcm2c2nc5qlzs80vc71w"))))
(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) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-development-inputs `(#:cargo-test-flags '("--release" "--lib")
(("rust-doc-comment" ,rust-doc-comment-0.3) #:cargo-inputs
("rust-lazy-static" ,rust-lazy-static-1)))) (("rust-bitflags" ,rust-bitflags-1))))
(home-page "https://github.com/netvl/xml-rs") (home-page "https://github.com/netvl/xml-rs")
(synopsis "XML library in pure Rust") (synopsis "XML library in pure Rust")
(description "An XML library in pure Rust.") (description "An XML library in pure Rust.")