diff options
author | Ashvith Shetty <ashvithshetty10@gmail.com> | 2024-12-02 13:40:20 +0530 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-12-31 10:56:37 +0800 |
commit | 71182f2f03c6623e16a5a45c903d324cdc1e8315 (patch) | |
tree | a6d46cf44e95d387e27fc8908cab5a2205f7d127 | |
parent | cc4e3297620f6a2779aafc0bbc810c87bd4a89e0 (diff) |
gnu: Add waylock.
* gnu/packages/zig-xyz.scm (waylock): New variable.
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: I8a9e83ead3b2cb13471d8e92eb6e3463a646dad8
-rw-r--r-- | gnu/packages/zig-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm index 840a0c9982..319685147f 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -29,6 +29,7 @@ #:use-module (gnu packages) #:use-module (gnu packages freedesktop) #:use-module (gnu packages man) + #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages wm) @@ -109,6 +110,37 @@ mission-critical safety and performance for financial services.") (home-page "https://github.com/tigerbeetledb/tigerbeetle") (license license:asl2.0))) +(define-public waylock + (package + (name "waylock") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/ifreund/waylock") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jlq23cb5069sa5ipshhj82a9rn30frflwi9skp2kplqpxm15wwd")))) + (build-system zig-build-system) + (arguments + (list + #:install-source? #f + ;; No tests. + #:tests? #f + #:zig-release-type "safe" + #:zig-build-flags + #~(list "-Dpie"))) + (inputs (list linux-pam zig-wayland zig-xkbcommon)) + (native-inputs (list pkg-config scdoc)) + (home-page "https://codeberg.org/ifreund/waylock") + (synopsis "Wayland screen locker") + (description + "Waylock is a small screen locker for Wayland compositors implementing the +@code{ext-session-lock-v1} protocol.") + (license license:expat))) + (define-public zig-diffz (let ((commit "420fcb22306ffd4c9c3c761863dfbb6bdbb18a73") (revision "0")) |