gnu: Add i3lock.

* gnu/packages/wm.scm (i3lock): New public variable.
master
Marius Bakke 2019-04-27 13:37:00 +02:00
parent 05e1534ee8
commit b6afc35051
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 31 additions and 1 deletions

View File

@ -13,7 +13,7 @@
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
@ -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"))