diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2020-09-18 22:13:40 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-09-18 22:13:40 +0200 |
commit | 24bbc237416fe1a6ee9e2c78dcfdca5cdf51f225 (patch) | |
tree | 00ad349c0cb0af08014dce65a1c5a407f5871954 | |
parent | 7e25147e15e7fc69e8064dbe266e3a683fa48d54 (diff) | |
download | guix-24bbc237416fe1a6ee9e2c78dcfdca5cdf51f225.tar guix-24bbc237416fe1a6ee9e2c78dcfdca5cdf51f225.tar.gz |
gnu: Add rust-xml-rs@0.7.1.
* gnu/packages/crates-io.scm (rust-xml-rs-0.7): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5b1c435c98..68b9c34e77 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30541,6 +30541,36 @@ to XDG Base Directory specification.") (description "An XML library in pure Rust.") (license license:expat))) +(define-public rust-xml-rs-0.7 + (package + (name "rust-xml-rs") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xml-rs" version)) + (file-name + (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)))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/netvl/xml-rs") + (synopsis "XML library in pure Rust") + (description "An XML library in pure Rust.") + (license license:expat))) + (define-public rust-xml5ever-0.16 (package (name "rust-xml5ever") @@ -30802,4 +30832,3 @@ formatters with per-field documentation generated for each structure. @end itemize") ;; User can choose either license. (license (list license:expat license:asl2.0)))) - |