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

21 lines
693 B
Nix
Raw Normal View History

2016-02-14 14:41:27 +01:00
{ stdenv, fetchurl, xproto, libX11, libXext, libXrandr }:
stdenv.mkDerivation rec {
2016-11-20 15:11:26 +01:00
name = "slock-1.4";
src = fetchurl {
url = "http://dl.suckless.org/tools/${name}.tar.gz";
2016-11-20 15:11:26 +01:00
sha256 = "0sif752303dg33f14k6pgwq2jp1hjyhqv6x4sy3sj281qvdljf5m";
};
2016-02-14 14:41:27 +01:00
buildInputs = [ xproto libX11 libXext libXrandr ];
installFlags = "DESTDIR=\${out} PREFIX=";
2016-02-14 14:43:45 +01:00
meta = with stdenv.lib; {
homepage = http://tools.suckless.org/slock;
description = "Simple X display locker";
longDescription = ''
Simple X display locker. This is the simplest X screen locker.
'';
2016-02-14 14:43:45 +01:00
license = licenses.mit;
maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux;
};
}