nixpkgs/pkgs/misc/screensavers/slock/default.nix

21 lines
676 B
Nix
Raw Normal View History

{ stdenv, fetchurl, xproto, libX11, libXext }:
stdenv.mkDerivation rec {
2015-05-09 12:02:19 +01:00
name = "slock-1.2";
src = fetchurl {
url = "http://dl.suckless.org/tools/${name}.tar.gz";
2015-05-09 12:02:19 +01:00
sha256 = "1crkyr4vblhciy6vnbjwwjnlkm9yg2hzq16v6hzxm20ai67na0il";
};
buildInputs = [ xproto libX11 libXext ];
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;
};
}