aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-01-10 19:45:32 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:44:23 +0100
commit0f1b00f21bf39c51f1578b14ad824f8e4f6d8c9c (patch)
tree6adc5e0608489fd5cc734400ea27d1a20f5b1021 /gnu/packages
parent5557d4052bdfb0d00088b08b1d416ae59182fcb7 (diff)
downloadguix-0f1b00f21bf39c51f1578b14ad824f8e4f6d8c9c.tar
guix-0f1b00f21bf39c51f1578b14ad824f8e4f6d8c9c.tar.gz
gnu: Add rust-atk-0.14.
* gnu/packages/crates-gtk.scm (rust-atk-0.14): New variable. (rust-atk-0.8): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-gtk.scm39
1 files changed, 31 insertions, 8 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 1e7fb053ad..d6d6df555d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -86,8 +86,38 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-atk-0.14
+ (package
+ (name "rust-atk")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fi6f3k1lgd0iymar58hp88k76fm5pd1npi2avdn9r3mmb922fx8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-atk-sys" ,rust-atk-sys-0.14)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (inputs
+ (list atk glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the ATK library")
+ (description "Rust bindings for the ATK library")
+ (license license:expat)))
+
(define-public rust-atk-0.8
(package
+ (inherit rust-atk-0.14)
(name "rust-atk")
(version "0.8.0")
(source
@@ -97,7 +127,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gk6ijqsd6kh8cki1wznw570499psbppg3d5bqaayagjapxawka4"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-atk-sys" ,rust-atk-sys-0.9)
@@ -108,13 +137,7 @@
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (inputs
- (list atk glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the ATK library")
- (description "Rust bindings for the ATK library")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-cairo-rs-0.9
(package