diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-09-18 14:12:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:04:20 +0200 |
commit | 3f51f27360cf75708962854031d05d7eefd198f7 (patch) | |
tree | 669b115652004afa3216ebc8314d715c36b2bea0 /gnu/packages | |
parent | 1ae35ea08cd8a4c7b88bb086bd4c731560b5dded (diff) | |
download | guix-3f51f27360cf75708962854031d05d7eefd198f7.tar.gz guix-3f51f27360cf75708962854031d05d7eefd198f7.zip |
gnu: Add rust-gobject-sys-0.19.
* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.19): New variable.
(rust-gobject-sys-0.18): Inherit from rust-gobject-sys-0.19.
Change-Id: I3808d54539fc7910d6c867d71d917c3248b2ac44
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 552b13d785..e87f377ce5 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2101,8 +2101,34 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gobject-sys-0.19 + (package + (name "rust-gobject-sys") + (version "0.19.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "gobject-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17lb7dfbpcg8zchwlfbc08kckwf0a7d9n5ly3pyic13f5ljpws9f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://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-gobject-sys-0.18 (package + (inherit rust-gobject-sys-0.19) (name "rust-gobject-sys") (version "0.18.0") (source @@ -2112,7 +2138,6 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0i6fhp3m6vs3wkzyc22rk2cqj68qvgddxmpaai34l72da5xi4l08")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; `G_TYPE_FUNDAMENTAL_MAX` constant mismatch with gcc #:cargo-inputs @@ -2121,13 +2146,7 @@ ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs (list pkg-config)) - (inputs (list glib)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgobject-2.0") - (description "This package provides FFI bindings to libgobject-2.0.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gobject-sys-0.17 (package |