mbakke pushed a commit to branch master
in repository guix.
commit b6afc350514ae5016adc6ca70f7be72aa3ecb2d2
Author: Marius Bakke <[email protected]>
Date: Sat Apr 27 13:37:00 2019 +0200
gnu: Add i3lock.
* gnu/packages/wm.scm (i3lock): New public variable.
---
gnu/packages/wm.scm | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index c7dea8b..0f1b0f3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2016 doncatnip <[email protected]>
;;; Copyright © 2016 Ivan Vilata i Balaguer <[email protected]>
;;; Copyright © 2017 Mekeor Melire <[email protected]>
-;;; Copyright © 2017 Marius Bakke <[email protected]>
+;;; Copyright © 2017, 2019 Marius Bakke <[email protected]>
;;; Copyright © 2017 Oleg Pykhalov <[email protected]>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2018 Pierre-Antoine Rouby <[email protected]>
@@ -220,6 +220,36 @@ i3 uses a plain-text configuration file, and can be
extended and controlled from
many programming languages.")
(license license:bsd-3)))
+(define-public i3lock
+ (package
+ (name "i3lock")
+ (version "2.11.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://i3wm.org/i3lock/i3lock-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "015dn534m7cxjvqdncpvaq9p8b2r4w5hp1yanbdy2abmhbcc7a7j"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("cairo" ,cairo)
+ ("libev" ,libev)
+ ("linux-pam" ,linux-pam)
+ ("libxcb" ,libxcb)
+ ("libxkbcommon" ,libxkbcommon)
+ ("xcb-util" ,xcb-util)
+ ("xcb-util-image" ,xcb-util-image)
+ ("xcb-util-xrm" ,xcb-util-xrm)))
+ (home-page "https://i3wm.org/i3lock/")
+ (synopsis "Lightweight screen locker")
+ (description
+ "i3lock is a simple X11 screen locker developed alongside the i3 project.
+Despite the name it should work with any X11 window manager.")
+ (license license:bsd-3)))
+
(define-public i3blocks
(let ((commit "37f23805ff886639163fbef8aedba71c8071eff8")
(revision "1"))