aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-19 09:17:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:25 +0200
commit57beeed7040171667ce35d7012b900c2780293a3 (patch)
tree35150b36b3acc793aec1c6ab2fe53660c7743976
parent55ca8748df4a5d2915f1abf22012d308f856ba34 (diff)
downloadpatches-57beeed7040171667ce35d7012b900c2780293a3.tar
patches-57beeed7040171667ce35d7012b900c2780293a3.tar.gz
gnu: Add rust-cairo-rs-0.7.
* gnu/packages/crates-io.scm (rust-cairo-rs-0.7): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c694863379..07cb744fd8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1772,6 +1772,32 @@ exposed as Reader/Writer streams.")
"Rust bindings for the Cairo library.")
(license license:expat)))
+(define-public rust-cairo-rs-0.7
+ (package
+ (inherit rust-cairo-rs-0.8)
+ (name "rust-cairo-rs")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "171m98g41avp5mmshqir4ka21napp7ma5fx45wi9mw5hwdyv8pg0"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
+ ("rust-glib" ,rust-glib-0.8)
+ ("rust-glib-sys" ,rust-glib-sys-0.9)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3.1))))))
+
(define-public rust-cairo-sys-rs-0.9
(package
(name "rust-cairo-sys-rs")