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 MPggOXnKWWaOeQAAqHPOHw:P1 (envelope-from ) for ; Fri, 31 May 2024 15:02:50 +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 MPggOXnKWWaOeQAAqHPOHw (envelope-from ) for ; Fri, 31 May 2024 15:02:50 +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=KezCGFDG; 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=1717160569; 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=P8orDVvaSSrkqjCANa6Dd7fLzT+EsA8g15RszsgPBdI=; b=iWptF4Dzn+/vqlxGfWkqcfugbXKWyfxDvf0Tixl/L3kTQHJVjI78d1q3rE/DigmQJcib3T Hq4kXdvhMgjXZpHf9Efu2VihQHrjQG0ZvgQg+foONuzX3Jn7GT5jiMOTrqFsB+8Hbo70fj yfWo8x4j2bsPcfp2706U8ldtm9UBKD93atnKPpsYSvrDxkOeNlWiDT72WC0xplzlD66yqg HueWgNKHYoDe5+mS8jLlksHAhFW5WRE24h5R2FYTRw3qwhXePF1uDZpXY+n55opj9NPHbr rUjiS+tWnzWHrcWYayCidyVUL5Kfo+aThUPholvefKnsD0z4aMpLs6HrbJjfYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=KezCGFDG; 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=1717160569; a=rsa-sha256; cv=none; b=Af6DGASd40tb0QazoNDei9ZI5G8hXnnAhA1SaPyV35Cy2ufjvP8FOgMqPVmckhBqoGCYJC T6621aXBvDwQ3CVFPKNc4jKvD3WnrYwjG9ymmCWkWuYi1E8okCrgzASv4zkcHtiyYiwF95 RX0Nw57KMWLL6/ZS4D2UQFhIOZ4Xx4/h59Z9g2XWW10L1wUMCpCvypIb83BuVPUzZgVsA3 6EwUWfoogNDg4c5HkM2IsDF/70OX/eWZGF4ALG9SLTnyYhcsRBn8fNGF3KPY97RjpefI9w dcehjqs3NGPxnWe9fc7tXYYozkZhvqBSzIfjK/0a7DqicHLABO4DiZOrdTUj6w== 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 87DA4154E9 for ; Fri, 31 May 2024 15:02:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sD1su-00062i-TW; Fri, 31 May 2024 09:01:28 -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 1sD1sN-0005wx-Np for guix-patches@gnu.org; Fri, 31 May 2024 09:00:59 -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 1sD1sJ-0005TB-TY for guix-patches@gnu.org; Fri, 31 May 2024 09:00:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sD1sU-0006Er-ED; Fri, 31 May 2024 09:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH v2 01/44] gnu: Add eww. Resent-From: Murilo Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 31 May 2024 13:01: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.171716043123770 (code B ref 71278); Fri, 31 May 2024 13:01:02 +0000 Received: (at 71278) by debbugs.gnu.org; 31 May 2024 13:00:31 +0000 Received: from localhost ([127.0.0.1]:53528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD1ry-0006B8-CZ for submit@debbugs.gnu.org; Fri, 31 May 2024 09:00:30 -0400 Received: from layka.disroot.org ([178.21.23.139]:47758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD1ru-0006Ax-Vb for 71278@debbugs.gnu.org; Fri, 31 May 2024 09:00:29 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 68F4241C96; Fri, 31 May 2024 15:00:15 +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 5JnRSdx6XmoC; Fri, 31 May 2024 15:00:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717160413; bh=HeVksUWExdmdpDFE1BlzMrT3jfI2XFsXpGjfImmMrw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KezCGFDG2MPb4PTQiKG+2yRQUlW4atYizFXp4oFBvcDj0TqzA4VM9h9oU5gyziOlM gdak2WsCVFeiXKUy+NHAyROJ9EAlANdrtiMyHL7CBpHD4fC2iRslgGRAiOa/G1mbYJ xnCDi+ifddQvFO0zPHYUqPELeWJnT91URd8axg2CtTAI2nSd8jJ78q7iX6iFpLUyKF kQRfvYwrQl77PQxZAjNo79wyX4xV0+S9kD7kRRyCmJ5WGRmUTK7IzVSSnLvSKLylYv NRLneF5hqjgF6X3QcJPEuuJsvqGIH2GLjeXhemvM7FL32S5JLVO4dd1Fe/xpt16lgV j6m/7uBTyVirw== Date: Fri, 31 May 2024 09:37:51 -0300 Message-ID: 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-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: 87DA4154E9 X-Migadu-Scanner: mx13.migadu.com X-TUID: NLK3BuvTHzXD * gnu/packages/rust-apps.scm (eww): New variable. Change-Id: Ib319868975fa400102ce983b6263bb96b181b165 --- gnu/packages/rust-apps.scm | 82 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 04f88e769d..a22d363b71 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,86 @@ (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"))) + (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