diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-01-10 19:14:37 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-21 00:44:16 +0100 |
commit | c9ed2b69d53f468af77914ea2e97f5fb1185d450 (patch) | |
tree | a696b960e114955271f6c9f2e62b87dc24fef2a1 /gnu/packages/crates-gtk.scm | |
parent | 06d6a2bd43f4ca7a82cf1305e27b63db19d8072c (diff) | |
download | guix-c9ed2b69d53f468af77914ea2e97f5fb1185d450.tar.gz |
gnu: Add rust-gobject-sys-0.14.
* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.14): New variable. (rust-gobject-sys-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index a7f7c72ad4..0b4f6fb677 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -873,24 +873,25 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gobject-sys-0.10 +(define-public rust-gobject-sys-0.14 (package (name "rust-gobject-sys") - (version "0.10.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm")))) + (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? + #t #:cargo-inputs - (("rust-glib-sys" ,rust-glib-sys-0.10) + (("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-libc" ,rust-libc-0.2) - ("rust-system-deps" ,rust-system-deps-1)) + ("rust-system-deps" ,rust-system-deps-3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) @@ -901,6 +902,28 @@ (description "This package provides FFI bindings to libgobject-2.0.") (license license:expat))) +(define-public rust-gobject-sys-0.10 + (package + (inherit rust-gobject-sys-0.14) + (name "rust-gobject-sys") + (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 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-1)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-gobject-sys-0.9 (package (inherit rust-gobject-sys-0.10) |