From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QOI7EB2pWGbHWwEAqHPOHw:P1 (envelope-from ) for ; Thu, 30 May 2024 18:28:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QOI7EB2pWGbHWwEAqHPOHw (envelope-from ) for ; Thu, 30 May 2024 18:28:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="V6+PR/ly"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717086493; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=35gP3o3xeohJFKhCH32gvhg1wC97OD1y9873qeTFBuo=; b=Vq/nUE0KIlbgAD4p4xP34frq9VInL6WWvN6N48W1k2sSzydBS5qeeS9BCmvPaTwID2g+QM 2oCYHlBGNoJRJeAd8o/6PkLygxTG56DsPK8V8btd126LZF9/U+Cv7LB6aSVjZjBdX6cn4a J3tEXanFtWlg/6oRlr/0gn2bJOSFuOGz5WmcMGxRTAt1YF9PUAPBxxda5mEDarn/7ktRkx HN894o58zie7L3Fh6SXN5U+fcpJOpuYWZTbbPvi8mufOWomXrWeHyV+AhF8c0sVBUFrHV4 PEw3dvc5tVtPjPPyoOE5i5/ILRS8PA/CMvyg+0KW74vUoicpYCJZHkGS86lLiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="V6+PR/ly"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717086493; a=rsa-sha256; cv=none; b=JS9B92TaCpJQQO/pA4EwWIseZRTYcQShE/obouRM/uHnZ1OvwoHmAqhLRhNfTaCMtHgTij dtyomVPaLdHL+TpG6KrGN0Q2YN5gOZYppdko0yGCR692WC41pvqIjwZ5PbdsmZXqpsTZ/w dE1ujSuwozzSTsle1lknrUDYvCCnCqyL2loccCIUoxkbzCCIe0Jw+J9tWKerCgdXg0AeUp 26BYFEHMHMV1wNr+IixIBBHdQzlJb+ffu2eVGHWEhqQuxEwbtOJ1W+L1WNvMsH+lK08hOv RKMFmaEJQKTu2bxxwKletDyfCxrmm1YaIwcxKwJfI1WUoIIvVeweLTb6UHRNGw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D0DC650886 for ; Thu, 30 May 2024 18:28:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCicH-00037Y-HI; Thu, 30 May 2024 12:27:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sChaH-0000w4-IF for guix-patches@gnu.org; Thu, 30 May 2024 11:20:53 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sChaG-0007VX-J7 for guix-patches@gnu.org; Thu, 30 May 2024 11:20:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sChaQ-0002lr-IB; Thu, 30 May 2024 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH 01/44] gnu: Add eww. Resent-From: Murilo Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 30 May 2024 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71278 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71278@debbugs.gnu.org Cc: Murilo , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71278-submit@debbugs.gnu.org id=B71278.171708245610621 (code B ref 71278); Thu, 30 May 2024 15:21:02 +0000 Received: (at 71278) by debbugs.gnu.org; 30 May 2024 15:20:56 +0000 Received: from localhost ([127.0.0.1]:42107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChaJ-0002lE-UO for submit@debbugs.gnu.org; Thu, 30 May 2024 11:20:56 -0400 Received: from layka.disroot.org ([178.21.23.139]:43648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChaG-0002kw-Qv for 71278@debbugs.gnu.org; Thu, 30 May 2024 11:20:55 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A5B9740DFC; Thu, 30 May 2024 17:20:40 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nIDSE2SYa-l8; Thu, 30 May 2024 17:20:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717082439; bh=L5HLQBwc0ZMtiBUggjGaWXB/a1vM/iZZJS4kfuKtgFY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=V6+PR/lyKUZ3vNwzM6DSS6eJR5ppbBkrTg0e1I6dDG5iHkyohRmKUiiHN/ZHOADIY iMg5+drIedVM1THIPhvpcWjeJZpvMFuQ0Pu4x2uMNDTN7p1iWtxwcVwKiWDTI4A4vh A2Hg9AN4EoZyieKDo+RLrT3H8ih6EPcGt8LvJ1EaHfDFJV52XzpBjg5G3YBUHpc+u9 uGWSLfy3j927g8XSLpcyMFinyCQWJdrYMIA5nU9khYTXyf+EF1tt7ja4jiywgGQoyC 29Imq/FbEPDZB7NcUwGnJa3if3A90CDzPS0LIk45v1zgEC7SP+f3faqsU2Z44hIw9c OX8Upq98cTdrA== Date: Thu, 30 May 2024 12:17:28 -0300 Message-ID: <4323d7911f5ad7e1fc46bdc20eea4749b1872bed.1717072140.git.murilo@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 30 May 2024 12:26:56 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Murilo X-ACL-Warn: , Murilo via Guix-patches From: Murilo via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.85 X-Spam-Score: -6.85 X-Migadu-Queue-Id: D0DC650886 X-Migadu-Scanner: mx13.migadu.com X-TUID: W199KKQQIO6w * 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 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh +;;; Copyright © 2024 Murilo ;;; ;;; 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