aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-19 08:43:48 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:25 +0200
commit55ca8748df4a5d2915f1abf22012d308f856ba34 (patch)
treee8d458ab19eba93e04feb23754786a883f1782a2 /gnu
parentc9d0d4d4ead7098d279823bce883899a14bed910 (diff)
downloadpatches-55ca8748df4a5d2915f1abf22012d308f856ba34.tar
patches-55ca8748df4a5d2915f1abf22012d308f856ba34.tar.gz
gnu: Add rust-glib-0.8.
* gnu/packages/crates-io.scm (rust-glib-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 47da68f75b..c694863379 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6729,6 +6729,31 @@ reading and writing git repositories.")
"Rust bindings for the GLib library.")
(license license:expat)))
+(define-public rust-glib-0.8
+ (package
+ (inherit rust-glib-0.9)
+ (name "rust-glib")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ysy87zrwyzhfpf3d8rkyyr3amwj85wky05fsl7kx95s84l269xy"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-preview" ,rust-futures-preview-0.3)
+ ("rust-glib-sys" ,rust-glib-sys-0.9)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3.1))))))
+
(define-public rust-glib-sys-0.9
(package
(name "rust-glib-sys")