mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: Add rust-gobject-sys-0.20.
* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.20): New variable. (rust-gobject-sys-0.19): Inherit from rust-gobject-sys-0.20. Change-Id: I05a5b63039af42946de6f371d743b34e8fe9bce9
This commit is contained in:
parent
1204430279
commit
2f07f35f31
1 changed files with 27 additions and 8 deletions
|
@ -2122,8 +2122,34 @@ (define-public rust-glib-sys-0.9
|
|||
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-gobject-sys-0.20
|
||||
(package
|
||||
(name "rust-gobject-sys")
|
||||
(version "0.20.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gobject-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0qk4d5ifybf5cnsv8bss85afz7vpxlqffawxq87cyy44zz979im4"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-system-deps" ,rust-system-deps-7))
|
||||
#: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.19
|
||||
(package
|
||||
(inherit rust-gobject-sys-0.20)
|
||||
(name "rust-gobject-sys")
|
||||
(version "0.19.8")
|
||||
(source
|
||||
|
@ -2133,19 +2159,12 @@ (define-public rust-gobject-sys-0.19
|
|||
(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)))
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-gobject-sys-0.18
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue