gnu: Add rust-gobject-sys-0.17.
* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.17): New variable. (rust-gobject-sys-0.15): Inherit from rust-gobject-sys-0.17.
parent
0766da728b
commit
ce2002911c
|
@ -1462,25 +1462,24 @@
|
||||||
(("rust-shell-words" ,rust-shell-words-0.1)
|
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))))
|
("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
|
|
||||||
(define-public rust-gobject-sys-0.15
|
(define-public rust-gobject-sys-0.17
|
||||||
(package
|
(package
|
||||||
(name "rust-gobject-sys")
|
(name "rust-gobject-sys")
|
||||||
(version "0.15.10")
|
(version "0.17.10")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method url-fetch)
|
(uri (crate-uri "gobject-sys" version))
|
||||||
(uri (crate-uri "gobject-sys" version))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32 "02hyilvpi4hw4gr03z2plsbf1zicsfs5l0xxadqx3v3b4i2cwmqd"))))
|
"0ql0pcab6dxjapiglxcjaavbbh1sznyc2wj5q273b9j0fwqw6d6d"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; FIXME: Constant value mismatch for G_TYPE_FUNDAMENTAL_MAX
|
`(;; XXX: Tests are sensitive to the version of glib, even though
|
||||||
;; Rust: "255"
|
;; the library supports a wide range. Skip for now.
|
||||||
;; C: "1020"
|
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-glib-sys" ,rust-glib-sys-0.15)
|
(("rust-glib-sys" ,rust-glib-sys-0.17)
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-system-deps" ,rust-system-deps-6))
|
("rust-system-deps" ,rust-system-deps-6))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
|
@ -1495,6 +1494,31 @@
|
||||||
(description "This package provides FFI bindings to libgobject-2.0.")
|
(description "This package provides FFI bindings to libgobject-2.0.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-gobject-sys-0.15
|
||||||
|
(package
|
||||||
|
(inherit rust-gobject-sys-0.17)
|
||||||
|
(name "rust-gobject-sys")
|
||||||
|
(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 "02hyilvpi4hw4gr03z2plsbf1zicsfs5l0xxadqx3v3b4i2cwmqd"))))
|
||||||
|
(arguments
|
||||||
|
`(;; 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))))))
|
||||||
|
|
||||||
(define-public rust-gobject-sys-0.14
|
(define-public rust-gobject-sys-0.14
|
||||||
(package
|
(package
|
||||||
(inherit rust-gobject-sys-0.15)
|
(inherit rust-gobject-sys-0.15)
|
||||||
|
|
Reference in New Issue