diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-01-10 18:50:29 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-21 00:44:13 +0100 |
commit | b1ea612d7f32722d2028ef10fbd7a466baa43c3a (patch) | |
tree | cd1086a337fd495864b67eb47250dee5964f1e45 /gnu/packages | |
parent | 7b62e4d3d3be8aade3203b4b0c7a88d25d128b7f (diff) | |
download | guix-b1ea612d7f32722d2028ef10fbd7a466baa43c3a.tar guix-b1ea612d7f32722d2028ef10fbd7a466baa43c3a.tar.gz |
gnu: Add rust-gtk3-macros-0.14.
* gnu/packages/crates-gtk.scm (rust-gtk3-macros-0.14): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b22905629f..b06c6ea556 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -977,6 +978,35 @@ (description "This package provides FFI bindings to libgtk-3.") (license license:expat))) +(define-public rust-gtk3-macros-0.14 + (package + (name "rust-gtk3-macros") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yavfirn2iw9nsxik6m7s2cdxdrl5l5jfbiwn0zl85y1dnlivpi1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-heck" ,rust-heck-0.3) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the GTK 3 library") + (description "This package provides Rust bindings for the GTK 3 +library.") + (license license:expat))) + (define-public rust-pango-0.9 (package (name "rust-pango") |