guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: gnu: rust-xml-rs-0.7: Downgrade to 0.7.0.


From: guix-commits
Subject: 03/06: gnu: rust-xml-rs-0.7: Downgrade to 0.7.0.
Date: Mon, 12 Oct 2020 06:27:06 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1bea13cbd5cc9251d4b1d9040032ff1235c672a4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 12 13:03:30 2020 +0300

    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.
---
 gnu/packages/crates-io.scm | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cd1f2de..ab571dd 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]