aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Čech <sleep_walker@suse.cz>2014-12-08 10:17:49 +0100
committerLudovic Courtès <ludo@gnu.org>2014-12-09 13:19:47 +0100
commit15f5f68656902944ecc0717ad0e2afe776259ac7 (patch)
treed6cbeed542318a284d7a329574908ce64c8b63fc
parent03356e977567b76e981c04af20302018f9f02fac (diff)
downloadpatches-15f5f68656902944ecc0717ad0e2afe776259ac7.tar
patches-15f5f68656902944ecc0717ad0e2afe776259ac7.tar.gz
gnu: Add slock.
* gnu/packages/dwm.scm (slock): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/dwm.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
index 88758f21d3..1a02aa3769 100644
--- a/gnu/packages/dwm.scm
+++ b/gnu/packages/dwm.scm
@@ -112,3 +112,30 @@ state.")
"A dynamic menu for X, originally designed for dwm. It manages large
numbers of user-defined menu items efficiently.")
(license x11)))
+
+(define-public slock
+ (package
+ (name "slock")
+ (version "1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://dl.suckless.org/tools/slock-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1r70s3npmp0nyrfdsxz8cw1i1z8n9phqdlw02wjphv341h3yajp0"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases (alist-delete 'configure %standard-phases)))
+ (inputs
+ `(("libx11" ,libx11)
+ ("libxext" ,libxext)
+ ("libxinerama" ,libxinerama)))
+ (home-page "http://tools.suckless.org/slock/")
+ (synopsis "Simple X session lock")
+ (description
+ "Simple X session lock with trivial feedback on password entry.")
+ (license x11)))