From faa264f16aec48366f514f38058f01b7be3bd84c Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Tue, 3 Oct 2023 16:02:21 -0400 Subject: [PATCH] trying to build new version of waybar. Does not work yet --- modules/ryan-packages/wm.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/modules/ryan-packages/wm.scm b/modules/ryan-packages/wm.scm index dce1be0..05441ea 100644 --- a/modules/ryan-packages/wm.scm +++ b/modules/ryan-packages/wm.scm @@ -3,6 +3,13 @@ #:use-module (guix packages) #:use-module (guix gexp) #:use-module (gnu packages) + #:use-module (gnu packages python) + #:use-module (gnu packages audio) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages llvm) + #:use-module (gnu packages gcc) + #:use-module (gnu packages check) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (gnu packages wm)) @@ -24,6 +31,22 @@ (define-public waybar-new (package (inherit waybar) - (arguments (list #:configure-flags #~(list "-Dexperimental=true"))))) + (name "waybar-new") + (version "0.9.22") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Alexays/Waybar") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0flwxg9rd7a2ygjvyksxxhxyyhp760jzd5ngkx65y77bxh1l7cpl")))) + (arguments + (list + #:tests? #f + #:configure-flags #~(list "--wrap-mode=nodownload" "-Dexperimental=true"))) + (native-inputs (modify-inputs (package-native-inputs waybar) (prepend clang))) + (inputs (modify-inputs (package-inputs waybar) (delete "gtkmm-3"))))) ;(prepend python cava catch2 gtkmm))))) waybar-new