diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-04 15:41:22 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 14:45:08 +0100 |
commit | e3d4fb701144d176797f4812eb4d7eb793b9ee73 (patch) | |
tree | e3a1419917c38207a6d8530afe04befa68b7a3c9 /gnu/packages | |
parent | 6920ffdd4278b74dfa8884d2fe6e997d9a291275 (diff) | |
download | guix-e3d4fb701144d176797f4812eb4d7eb793b9ee73.tar.gz |
gnu: Add rust-gobject-sys-0.10.
* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.10): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 349748da37..78af689ae0 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -445,26 +445,24 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gobject-sys-0.9 +(define-public rust-gobject-sys-0.10 (package (name "rust-gobject-sys") - (version "0.9.1") + (version "0.10.0") (source - (origin - (method url-fetch) - (uri (crate-uri "gobject-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nakflbp3gjaas4fw7sn3p1p32khyfpcq1h06z7yqd10yq2ail9i")))) + (origin + (method url-fetch) + (uri (crate-uri "gobject-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Some test libraries not included in release. + `(#:skip-build? #t #:cargo-inputs - (("rust-glib-sys" ,rust-glib-sys-0.9) + (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)) + ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) @@ -475,6 +473,29 @@ (description "This package provides FFI bindings to libgobject-2.0.") (license license:expat))) +(define-public rust-gobject-sys-0.9 + (package + (inherit rust-gobject-sys-0.10) + (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")))) + (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)))))) + (define-public rust-gtk-rs-lgpl-docs-0.1 (package (name "rust-gtk-rs-lgpl-docs") |