From 0cb6e214ee4fdb4ca39dde60474f2cb6383a6735 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Tue, 2 Jul 2024 20:45:48 -0400 Subject: Added mpv script for live cropping, changes to hyprlock and base-system --- modules/ryan-packages/wm.scm | 68 +++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 32 deletions(-) (limited to 'modules/ryan-packages') diff --git a/modules/ryan-packages/wm.scm b/modules/ryan-packages/wm.scm index 474596a..ada3adf 100644 --- a/modules/ryan-packages/wm.scm +++ b/modules/ryan-packages/wm.scm @@ -93,38 +93,42 @@ #~(list "-Dspectre=disabled"))) (outputs '("out")))) - (define-public hyprlock - (package - (name "hyprlock") - (version "0.3.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/hyprwm/hyprlock") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0w2a25hivn8xd8p05vc9xg57rd9siv12dwmr4skpqx4dcmxxbg5d")))) - (build-system cmake-build-system) - (native-inputs - (list gcc-13 - pkg-config - mesa-headers - wayland)) - (inputs - (list cairo - pango - libxkbcommon - libdrm - hyprlang - mesa - wayland-protocols - linux-pam)) - (home-page "https://github.com/hyprwm/hyprlock") - (license license:bsd-3) - (synopsis "Screen locker for Hyprland") - (description "Screen locker for hyprland."))) + (let ((commit "d9a6229434fba475ea42b634ee2f03919236798d") + (revision "1")) + (package + (name "hyprlock") + (version (git-version "0.3.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hyprlock") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19cg8vj4sgz5pxib9m08af1lilay9bckjhlr6h333s014l7y09sw")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) + (native-inputs + (list gcc-13 + pkg-config + mesa-headers + wayland)) + (inputs + (list cairo + pango + libxkbcommon + hyprlang + mesa + libdrm + libglvnd + wayland-protocols + linux-pam)) + (home-page "https://github.com/hyprwm/hyprlock") + (license license:bsd-3) + (synopsis "Screen locker for Hyprland") + (description "Screen locker for hyprland.")))) hyprlock -- cgit v1.2.3