summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-02 23:03:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-03 08:51:53 +0200
commite87b3bdaa790569be7697db12b5aa60d99ae2986 (patch)
treeefc53030980e83983901c893b03dd6f68f9346b6
parent92c6315afbba416dae93153255dd0172e30d9d38 (diff)
gnu: Add rust-gobject-sys-0.9.
* gnu/packages/crates-io.scm (rust-gobject-sys-0.9): New variable.
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6499a4cf2..c3cd72c0f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6682,6 +6682,36 @@ path simultaneously, and returning all of the globs that matched.")
(description "The wgl bindings for glutin.")
(license license:asl2.0)))
+(define-public rust-gobject-sys-0.9
+ (package
+ (name "rust-gobject-sys")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gobject-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nakflbp3gjaas4fw7sn3p1p32khyfpcq1h06z7yqd10yq2ail9i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Some test libraries not included in release.
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3.1))))
+ (inputs
+ `(("glib" ,glib)))
+ (home-page "http://gtk-rs.org/")
+ (synopsis "FFI bindings to libgobject-2.0")
+ (description "This package provides FFI bindings to libgobject-2.0.")
+ (license license:expat)))
+
(define-public rust-goblin-0.0
(package
(name "rust-goblin")