diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-02 22:48:06 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-03 08:51:52 +0200 |
commit | 92c6315afbba416dae93153255dd0172e30d9d38 (patch) | |
tree | b39d37b0a286edf73f75459be3a36221b27a41c4 | |
parent | 659ece59fff81ffaac83121dc2fc7bc6a5e9b622 (diff) | |
download | guix-92c6315afbba416dae93153255dd0172e30d9d38.tar.gz |
gnu: Add rust-glib-sys-0.9.
* gnu/packages/crates-io.scm (rust-glib-sys-0.9): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 67b87bf1d5..b6499a4cf2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages glib) #:use-module (gnu packages jemalloc) #:use-module (gnu packages llvm) #:use-module (gnu packages pcre) @@ -6354,6 +6355,35 @@ reading and writing git repositories.") "Generated OpenGL bindings and wrapper for Servo.") (license (list license:asl2.0 license:expat)))) +(define-public rust-glib-sys-0.9 + (package + (name "rust-glib-sys") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qhnwfqqcp63mx4q9744rfkq78g6ky2j8ppsxxgw0ipl08w6z1cm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Some test libraries not included in release. + #:cargo-inputs + (("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 libglib-2.0") + (description "This package provides FFI bindings to libglib-2.0.") + (license license:expat))) + (define-public rust-glium-0.25 (package (name "rust-glium") |