aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 03:47:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-25 09:44:21 +0200
commit8b2708a5660bd74a87c0247c43bdbba38632015a (patch)
treedcda3adc66c058b1d82689a832d6762cfd7ccd25 /gnu/packages
parent519c7d056c9ff3f0219f8d9c100d4c57787cd473 (diff)
downloadpatches-8b2708a5660bd74a87c0247c43bdbba38632015a.tar
patches-8b2708a5660bd74a87c0247c43bdbba38632015a.tar.gz
gnu: Add rust-expat-sys-2.1.
* gnu/packages/crates-io.scm (rust-expat-sys-2.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 17269f6afe..7756a4d997 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38,6 +38,7 @@
#:use-module (gnu packages ssh)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
;;;
@@ -4245,6 +4246,36 @@ is configured via an environment variable.")
(description "Geometry primitives written in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-expat-sys-2.1
+ (package
+ (name "rust-expat-sys")
+ (version "2.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "expat-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yj5pqynds776ay8wg9mhi3hvna4fv7vf244yr1864r0i5r1k3v5"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "expat") #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cmake" ,rust-cmake-0.1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("expat" ,expat)))
+ (home-page "http://www.libexpat.org/")
+ (synopsis "XML parser library written in C")
+ (description "XML parser library written in C")
+ (license license:expat)))
+
(define-public rust-fake-simd-0.1
(package
(name "rust-fake-simd")