From: Murilo via Guix-patches via <guix-patches@gnu.org>
To: 71278@debbugs.gnu.org
Cc: Murilo <murilo@disroot.org>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#71278] [PATCH 01/44] gnu: Add eww.
Date: Thu, 30 May 2024 12:17:28 -0300 [thread overview]
Message-ID: <4323d7911f5ad7e1fc46bdc20eea4749b1872bed.1717072140.git.murilo@disroot.org> (raw)
In-Reply-To: <cover.1717072140.git.murilo@disroot.org>
* gnu/packages/rust-apps.scm (eww): New variable.
Change-Id: I68b7c31e06e78a9b47c623788e1ce7c30dcb3555
---
gnu/packages/rust-apps.scm | 83 ++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 04f88e769d..871923b85b 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 Murilo <murilo@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -66,6 +67,7 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages crates-crypto)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
+ #:use-module (gnu packages crates-gtk)
#:use-module (gnu packages crates-tls)
#:use-module (gnu packages crates-vcs)
#:use-module (gnu packages crates-web)
@@ -546,6 +548,87 @@ (define-public emacs-lsp-booster
configuration instructions.")
(license license:expat)))
+(define-public eww
+ (package
+ (name "eww")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/elkowar/eww")
+ (commit (string-append "v" version))))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fd5ycfccrcwnmmdb6bc48rcj4qj9hb6xwbnz7g22dj9a6kffc5g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:install-source? #f
+ #:imported-modules (,@%cargo-build-system-modules (guix build
+ cargo-build-system))
+ #:modules ((guix build utils)
+ (guix build cargo-build-system)
+ (ice-9 match))
+ #:phases ,#~(modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (eww (string-append bin "/eww")))
+ (install-file "target/release/eww" bin)))))
+ #:cargo-inputs (("rust-zbus" ,rust-zbus-3)
+ ("rust-yuck" ,rust-yuck-0.1)
+ ("rust-x11rb" ,rust-x11rb-0.11)
+ ("rust-wait-timeout" ,rust-wait-timeout-0.2)
+ ("rust-unescape" ,rust-unescape-0.1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-sysinfo" ,rust-sysinfo-0.30)
+ ("rust-simplexpr" ,rust-simplexpr-0.1)
+ ("rust-simple-signal" ,rust-simple-signal-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5)
+ ("rust-pango" ,rust-pango-0.17)
+ ("rust-ordered-stream" ,rust-ordered-stream-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-notify" ,rust-notify-6)
+ ("rust-notifier-host" ,rust-notifier-host-0.6)
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-maplit" ,rust-maplit-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-itertools" ,rust-itertools-0.12)
+ ("rust-gtk-layer-shell" ,rust-gtk-layer-shell-0.6)
+ ("rust-gtk" ,rust-gtk-0.17)
+ ("rust-grass" ,rust-grass-0.13)
+ ("rust-glib-macros" ,rust-glib-macros-0.17)
+ ("rust-glib" ,rust-glib-0.17)
+ ("rust-gdkx11" ,rust-gdkx11-0.17)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.17)
+ ("rust-gdk" ,rust-gdk-0.17)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-extend" ,rust-extend-1)
+ ("rust-eww-shared-util" ,rust-eww-shared-util-0.1)
+ ("rust-derive-more" ,rust-derive-more-0.99)
+ ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
+ ("rust-clap-complete" ,rust-clap-complete-4)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17)
+ ("rust-cairo-rs" ,rust-cairo-rs-0.17)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-anyhow" ,rust-anyhow-1))))
+ (native-inputs (list pkg-config glib gtk+ libdbusmenu gtk-layer-shell))
+ (home-page "https://elkowar.github.io/eww/")
+ (synopsis "ElKowars wacky widgets")
+ (description
+ "Elkowars Wacky Widgets is a standalone widget system made in Rust that
+allows you to implement your own, custom widgets in any window manager.")
+ (license license:expat)))
+
(define-public eza
(package
(name "eza")
--
2.41.0
next prev parent reply other threads:[~2024-05-30 16:28 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-30 13:02 [bug#71278] [PATCH rust-team 00/44] Add eww Murilo via Guix-patches via
2024-05-30 15:17 ` Murilo via Guix-patches via [this message]
2024-05-30 15:17 ` [bug#71278] [PATCH 02/44] gnu: Add rust-cached-0.48 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 03/44] gnu: Add rust-codemap-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 04/44] gnu: Add rust-hifijson-0.2 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 05/44] gnu: Add rust-lasso-0.7 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 06/44] gnu: Add rust-notifier-host-0.6 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 07/44] gnu: Add rust-simplexpr-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 08/44] gnu: Add rust-simple-signal-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 09/44] gnu: Add rust-yuck-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 10/44] gnu: Add rust-cached-proc-macro-0.19 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 11/44] gnu: Add rust-cached-proc-macro-types-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 12/44] gnu: Add rust-dbusmenu-glib-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 13/44] gnu: Add rust-dbusmenu-glib-sys-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 14/44] gnu: Add rust-dbusmenu-gtk3-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 15/44] gnu: Add rust-dbusmenu-gtk3-sys-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 16/44] gnu: Add rust-extend-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 17/44] gnu: Add rust-eww-shared-util-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 18/44] gnu: Add rust-grass-0.13 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 19/44] gnu: Add rust-grass-compiler-0.13 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 20/44] gnu: Add rust-jaq-core-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 21/44] gnu: Add rust-jaq-interpret-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 22/44] gnu: Add rust-jaq-parse-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 23/44] gnu: Add rust-jaq-std-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 24/44] gnu: Add rust-jaq-syn-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 25/44] gnu: Add rust-gdkx11-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 26/44] gnu: Add rust-gdkx11-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 27/44] gnu: Add rust-gtk-layer-shell-0.6 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 28/44] gnu: Add rust-gtk-layer-shell-sys-0.6 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 29/44] gnu: Add rust-gdk-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 30/44] gnu: Add rust-gdk-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 31/44] gnu: Add rust-gtk-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 32/44] gnu: Add rust-gtk-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 33/44] gnu: Add rust-gtk3-macros-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 34/44] gnu: Add rust-atk-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 35/44] gnu: Add rust-atk-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 36/44] gnu: rust-clap-complete-4: Update to 4.5.1 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 37/44] gnu: rust-ref-cast-1: Update to 1.0.22 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 38/44] gnu: rust-ref-cast-impl-1: " Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 39/44] gnu: rust-darling-0.14: Update to 0.14.4 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 40/44] gnu: rust-darling-core-0.14: " Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 41/44] gnu: rust-darling-macro-0.14: " Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 42/44] gnu: Add rust-slotmap-0.4 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 43/44] gnu: Add rust-deepsize-0.2 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 44/44] gnu: Add rust-deepsize-derive-0.1 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH rust-team v2 00/44] Add eww Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 01/44] gnu: " Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 02/44] gnu: Add rust-cached-0.48 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 03/44] gnu: Add rust-codemap-0.1 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 04/44] gnu: Add rust-hifijson-0.2 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 05/44] gnu: Add rust-lasso-0.7 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 06/44] gnu: Add rust-notifier-host-0.6 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 07/44] gnu: Add rust-simplexpr-0.1 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 08/44] gnu: Add rust-simple-signal-1 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH v2 09/44] gnu: Add rust-yuck-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 10/44] gnu: Add rust-cached-proc-macro-0.19 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 11/44] gnu: Add rust-cached-proc-macro-types-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 12/44] gnu: Add rust-dbusmenu-glib-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 13/44] gnu: Add rust-dbusmenu-glib-sys-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 14/44] gnu: Add rust-dbusmenu-gtk3-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 15/44] gnu: Add rust-dbusmenu-gtk3-sys-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 16/44] gnu: Add rust-extend-1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 17/44] gnu: Add rust-eww-shared-util-0.1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 18/44] gnu: Add rust-grass-0.13 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 19/44] gnu: Add rust-grass-compiler-0.13 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 20/44] gnu: Add rust-jaq-core-1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 21/44] gnu: Add rust-jaq-interpret-1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 22/44] gnu: Add rust-jaq-parse-1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 23/44] gnu: Add rust-jaq-std-1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 24/44] gnu: Add rust-jaq-syn-1 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 25/44] gnu: Add rust-gdkx11-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 26/44] gnu: Add rust-gdkx11-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 27/44] gnu: Add rust-gtk-layer-shell-0.6 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 28/44] gnu: Add rust-gtk-layer-shell-sys-0.6 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 29/44] gnu: Add rust-gdk-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 30/44] gnu: Add rust-gdk-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 31/44] gnu: Add rust-gtk-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 32/44] gnu: Add rust-gtk-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 33/44] gnu: Add rust-gtk3-macros-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 34/44] gnu: Add rust-atk-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 35/44] gnu: Add rust-atk-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 36/44] gnu: rust-clap-complete-4: Update to 4.5.2 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 37/44] gnu: rust-ref-cast-1: Update to 1.0.23 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 38/44] gnu: rust-ref-cast-impl-1: " Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 39/44] gnu: rust-darling-0.14: Update to 0.14.4 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 40/44] gnu: rust-darling-core-0.14: " Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 41/44] gnu: rust-darling-macro-0.14: " Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 42/44] gnu: Add rust-slotmap-0.4 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 43/44] gnu: Add rust-deepsize-0.2 Murilo via Guix-patches via
2024-05-31 12:38 ` [bug#71278] [PATCH v2 44/44] gnu: Add rust-deepsize-derive-0.1 Murilo via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4323d7911f5ad7e1fc46bdc20eea4749b1872bed.1717072140.git.murilo@disroot.org \
--to=guix-patches@gnu.org \
--cc=71278@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=murilo@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).