Added xautolock 2.1.
Xautolock can be used to fire up a screen saver like xautolock after a certain period of inactivity. The tool probably doesn't belong into misc/screensavers, but I had no better idea. svn path=/nixpkgs/trunk/; revision=12305
This commit is contained in:
16
pkgs/misc/screensavers/xautolock/default.nix
Normal file
16
pkgs/misc/screensavers/xautolock/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{stdenv, fetchurl, x11, imake, libXScrnSaver, scrnsaverproto}:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
name = "xautolock-2.1";
|
||||
src = fetchurl
|
||||
{
|
||||
url = "http://www.ibiblio.org.org/pub/Linux/X11/screensavers/${name}.tgz";
|
||||
sha256 = "1ylc6589ck88jmp8bxccs0xay1nyrnlw6cajzihk5m0pkfwwk92b";
|
||||
};
|
||||
|
||||
makeFlags="BINDIR=$$out/bin MANPATH=$$out/man";
|
||||
preBuild = "xmkmf";
|
||||
installTargets = "install install.man";
|
||||
buildInputs = [x11 imake libXScrnSaver scrnsaverproto];
|
||||
}
|
||||
Reference in New Issue
Block a user