gnu: Add rust-atk-sys-0.10.

* gnu/packages/crates-gtk.scm (rust-atk-sys-0.10): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Aleksandr Vityazev 2022-01-21 23:40:23 +01:00 committed by Nicolas Goaziou
parent a67cb3adb9
commit acb93caf24
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2,6 +2,7 @@
;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -63,6 +64,32 @@ (define-public rust-atk-sys-0.14
(description "FFI bindings to libatk-1")
(license license:expat)))
(define-public rust-atk-sys-0.10
(package
(inherit rust-atk-sys-0.14)
(name "rust-atk-sys")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "atk-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1knzvq2jdkx1nav619jbqsx2ivzh901rsp2wl57wr50x2fpy8c7m"))))
(arguments
`(#:tests? #f ;missing files
#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.10)
("rust-gobject-sys" ,rust-gobject-sys-0.10)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-1))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs (list pkg-config))
(inputs
(list atk glib))))
(define-public rust-atk-sys-0.9
(package
(inherit rust-atk-sys-0.14)