mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-atk-sys-0.18.
* gnu/packages/crates-gtk.scm (rust-atk-sys-0.18): New variable. (rust-atk-sys-0.14): Inherit from rust-atk-sys-0.18. Change-Id: I8eb3c1b0df359f77e13e88126b811ab9e49f3cbc Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
552eb28a42
commit
881ff2a2c6
1 changed files with 33 additions and 9 deletions
|
@ -41,8 +41,40 @@
|
||||||
;;;
|
;;;
|
||||||
;;; Please: Try to add new module packages in alphabetic order.
|
;;; Please: Try to add new module packages in alphabetic order.
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
|
(define-public rust-atk-sys-0.18
|
||||||
|
(package
|
||||||
|
(name "rust-atk-sys")
|
||||||
|
(version "0.18.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "atk-sys" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0280k0xw21n3zzri8ynk5mxy7v1mk9d506l962lhngp3j1yhn7i5"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-test-flags '("--release" "--"
|
||||||
|
"--skip=cross_validate_constants_with_c"
|
||||||
|
"--skip=cross_validate_layout_with_c")
|
||||||
|
#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
|
||||||
|
("rust-gobject-sys" ,rust-gobject-sys-0.18)
|
||||||
|
("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 at-spi2-core glib))
|
||||||
|
(home-page "https://gtk-rs.org/")
|
||||||
|
(synopsis "FFI bindings to libatk-1")
|
||||||
|
(description "This package provides FFI bindings to libatk-1.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-atk-sys-0.14
|
(define-public rust-atk-sys-0.14
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-atk-sys-0.18)
|
||||||
(name "rust-atk-sys")
|
(name "rust-atk-sys")
|
||||||
(version "0.14.0")
|
(version "0.14.0")
|
||||||
(source
|
(source
|
||||||
|
@ -52,7 +84,6 @@
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1sl3pqfb2jaf9kcfxj9k43d7iv8gcl5zgdgn3j5vp13w2mqgdp5s"))))
|
(base32 "1sl3pqfb2jaf9kcfxj9k43d7iv8gcl5zgdgn3j5vp13w2mqgdp5s"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; missing files
|
`(#:tests? #f ; missing files
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -62,14 +93,7 @@
|
||||||
("rust-system-deps" ,rust-system-deps-3))
|
("rust-system-deps" ,rust-system-deps-3))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-shell-words" ,rust-shell-words-1)
|
(("rust-shell-words" ,rust-shell-words-1)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))
|
("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
(native-inputs (list pkg-config))
|
|
||||||
(inputs
|
|
||||||
(list at-spi2-core glib))
|
|
||||||
(home-page "https://gtk-rs.org/")
|
|
||||||
(synopsis "FFI bindings to libatk-1")
|
|
||||||
(description "FFI bindings to libatk-1")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-atk-sys-0.10
|
(define-public rust-atk-sys-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue