me
/
guix
Archived
1
0
Fork 0

gnu: rust-gobject-sys: Add 0.15.10.

* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.15): New variable.
(rust-gobject-sys-0.14): Inherit from it.
master
Marius Bakke 2022-07-25 14:52:23 +02:00
parent 21e5e408bf
commit 633c4ca407
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 37 additions and 11 deletions

View File

@ -1230,21 +1230,52 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gobject-sys-0.14
(define-public rust-gobject-sys-0.15
(package
(name "rust-gobject-sys")
(version "0.14.0")
(version "0.15.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "gobject-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma"))))
(base32 "02hyilvpi4hw4gr03z2plsbf1zicsfs5l0xxadqx3v3b4i2cwmqd"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
`(;; FIXME: Constant value mismatch for G_TYPE_FUNDAMENTAL_MAX
;; Rust: "255"
;; C: "1020"
#:tests? #f
#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.15)
("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.14
(package
(inherit rust-gobject-sys-0.15)
(version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gobject-sys" version))
(file-name (string-append "rust-gobject-sys-" version ".tar.gz"))
(sha256
(base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.14)
("rust-libc" ,rust-libc-0.2)
@ -1252,12 +1283,7 @@
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(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)))
(native-inputs '())))
(define-public rust-gobject-sys-0.10
(package