2016-02-14 13:41:27 +00:00
|
|
|
{ stdenv, fetchurl, xproto, libX11, libXext, libXrandr }:
|
2011-09-17 18:40:07 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-02-14 13:41:27 +00:00
|
|
|
name = "slock-1.3";
|
2011-09-17 18:40:07 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://dl.suckless.org/tools/${name}.tar.gz";
|
2016-02-14 13:41:27 +00:00
|
|
|
sha256 = "065xa9hl7zn0lv2f7yjxphqsa35rg6dn9hv10gys0sh4ljpa7d5s";
|
2011-09-17 18:40:07 +01:00
|
|
|
};
|
2016-02-14 13:41:27 +00:00
|
|
|
buildInputs = [ xproto libX11 libXext libXrandr ];
|
2011-09-17 18:40:07 +01:00
|
|
|
installFlags = "DESTDIR=\${out} PREFIX=";
|
|
|
|
meta = {
|
|
|
|
homepage = http://tools.suckless.org/slock;
|
|
|
|
description = "Simple X display locker";
|
|
|
|
longDescription = ''
|
|
|
|
Simple X display locker. This is the simplest X screen locker.
|
|
|
|
'';
|
|
|
|
license = "bsd";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|