[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add rust-xml-rs@0.7.1.
From: |
guix-commits |
Subject: |
02/06: gnu: Add rust-xml-rs@0.7.1. |
Date: |
Fri, 18 Sep 2020 16:18:49 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 24bbc237416fe1a6ee9e2c78dcfdca5cdf51f225
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Fri Sep 18 22:13:40 2020 +0200
gnu: Add rust-xml-rs@0.7.1.
* gnu/packages/crates-io.scm (rust-xml-rs-0.7): New variable.
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b1c435..68b9c34 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))))
-
- branch master updated (aa9ba86 -> e6ba735), guix-commits, 2020/09/18
- 02/06: gnu: Add rust-xml-rs@0.7.1.,
guix-commits <=
- 03/06: gnu: Add rust-xmltree@0.8.0., guix-commits, 2020/09/18
- 01/06: gnu: Add rust-packed-struct., guix-commits, 2020/09/18
- 05/06: gnu: Add rust-inflections@1.1.1., guix-commits, 2020/09/18
- 04/06: gnu: Add rust-svd-parser@0.9.0., guix-commits, 2020/09/18
- 06/06: gnu: Add svd2rust., guix-commits, 2020/09/18