2023-05-18 21:05:18 -04:00
|
|
|
(define-module (ryan-packages wm)
|
2024-02-15 13:22:50 -05:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2023-05-18 21:05:18 -04:00
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix packages)
|
2023-06-09 22:19:29 -04:00
|
|
|
#:use-module (guix gexp)
|
2023-05-18 21:05:18 -04:00
|
|
|
#:use-module (gnu packages)
|
2024-02-15 13:22:50 -05:00
|
|
|
#:use-module (guix build-system cmake)
|
2023-10-03 16:02:21 -04:00
|
|
|
#:use-module (gnu packages python)
|
|
|
|
#:use-module (gnu packages audio)
|
|
|
|
#:use-module (gnu packages glib)
|
2024-02-15 13:22:50 -05:00
|
|
|
#:use-module (gnu packages freedesktop)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2023-10-11 23:45:39 -04:00
|
|
|
#:use-module (gnu packages gtk)
|
2023-10-03 16:02:21 -04:00
|
|
|
#:use-module (gnu packages llvm)
|
|
|
|
#:use-module (gnu packages gcc)
|
|
|
|
#:use-module (gnu packages check)
|
2023-05-18 21:05:18 -04:00
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix utils)
|
2024-03-06 09:18:53 -05:00
|
|
|
#:use-module (rosenthal packages wm)
|
2023-10-11 22:07:28 -04:00
|
|
|
#:use-module (ryan-packages gtk)
|
2023-05-18 21:05:18 -04:00
|
|
|
#:use-module (gnu packages wm))
|
|
|
|
|
|
|
|
(define-public swaylock-effects-new
|
|
|
|
(package
|
|
|
|
(inherit swaylock-effects)
|
2023-12-12 19:13:20 -05:00
|
|
|
(version "1.7.0.0")
|
2023-05-18 21:05:18 -04:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/jirutka/swaylock-effects")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-12-12 19:13:20 -05:00
|
|
|
"0cgpbzdpxj6bbpa8jwql1snghj21mhryyvj6sk46g66lqvwlrqbj"))))
|
2023-06-04 22:36:34 -04:00
|
|
|
(inputs (modify-inputs (package-inputs swaylock-effects) (delete "linux-pam")))))
|
2023-06-09 22:19:29 -04:00
|
|
|
|
2024-03-20 01:21:39 -04:00
|
|
|
(define-public swayidle-new
|
|
|
|
(package
|
|
|
|
(inherit swayidle)
|
|
|
|
(version "1.8.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/swaywm/swayidle")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name "swayidle" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0y0qdqzx90kvk6l80darldvizr7p5g65bnblhxlq5a2rgvs9hkpx"))))))
|
|
|
|
|
2023-06-09 22:19:29 -04:00
|
|
|
(define-public waybar-new
|
|
|
|
(package
|
|
|
|
(inherit waybar)
|
2023-10-03 16:02:21 -04:00
|
|
|
(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
|
|
|
|
#:configure-flags #~(list "--wrap-mode=nodownload" "-Dexperimental=true")))
|
2023-10-11 23:45:39 -04:00
|
|
|
(inputs (modify-inputs (package-inputs waybar) (delete "gtkmm") (prepend gtkmm-ryan))))) ;(prepend python cava catch2 gtkmm)))))
|
|
|
|
;(native-inputs (modify-inputs (package-native-inputs waybar) (prepend gcc-13)))))
|
2024-03-06 09:18:53 -05:00
|
|
|
|
|
|
|
(define hyprland-unbundle-wlroots-patch
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" "/raw/"
|
|
|
|
"13f6f0b923ff3ec94a3bec886c28b90402ceef91"
|
|
|
|
"/nix/patches/meson-build.patch"))
|
|
|
|
(sha256
|
|
|
|
(base32 "02sq5ymxxrxp93mccafc4ilpsvs4m8bxc3whp7bcc5v9dx41va8k"))))
|
|
|
|
|
|
|
|
(define-public hyprland-temp
|
|
|
|
(package
|
|
|
|
(inherit hyprland)
|
|
|
|
(version "12985fa0d8e43b1e33326dfb49be681970dfaea5")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/hyprwm/Hyprland")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name "hyprland" version))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(substitute* "meson.build"
|
|
|
|
((".*hyprpm/src.*") ""))
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
'("hyprpm"
|
|
|
|
"subprojects"))
|
|
|
|
(copy-file "src/version.h.in" "src/version.h")))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"13l95h5krmv7syidw9c4gn62ac5qcqg9pmfh6x8ydjws97h05jvz"))
|
|
|
|
(patches (list hyprland-unbundle-wlroots-patch))))))
|
|
|
|
|
2024-03-20 01:21:39 -04:00
|
|
|
swayidle-new
|