mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
8ff43a1636
svn path=/nixpkgs/trunk/; revision=12314
16 lines
476 B
Nix
16 lines
476 B
Nix
{stdenv, fetchurl, x11, imake, libXScrnSaver, scrnsaverproto}:
|
|
|
|
stdenv.mkDerivation rec
|
|
{
|
|
name = "xautolock-2.2";
|
|
src = fetchurl
|
|
{
|
|
url = "http://www.ibiblio.org/pub/Linux/X11/screensavers/${name}.tgz";
|
|
sha256 = "11f0275175634e6db756e96f5713ec91b8b1c41f8663df54e8a5d27dc71c4da2";
|
|
};
|
|
makeFlags="BINDIR=\${out}/bin MANPATH=\${out}/man";
|
|
preBuild = "xmkmf";
|
|
installTargets = "install install.man";
|
|
buildInputs = [x11 imake libXScrnSaver scrnsaverproto];
|
|
}
|