nixpkgs-suyu/pkgs/applications/window-managers/i3/lock.nix

31 lines
866 B
Nix
Raw Normal View History

{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutilimage,
2013-07-08 01:18:12 +02:00
pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
stdenv.mkDerivation rec {
2014-08-03 13:24:29 +02:00
name = "i3lock-2.6";
src = fetchurl {
url = "http://i3wm.org/i3lock/${name}.tar.bz2";
2014-08-03 13:24:29 +02:00
sha256 = "0aj0an8fwv66jhda499r3xa00546cc9ja1dk8xpc6sy6xygqjbf0";
};
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutilimage pam libX11
2013-07-08 01:18:12 +02:00
libev cairo libxkbcommon libxkbfile ];
makeFlags = "all";
installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc";
postInstall = ''
mkdir -p $out/man/man1
cp *.1 $out/man/man1
'';
meta = with stdenv.lib; {
description = "i3lock is a simple screen locker like slock";
homepage = http://i3wm.org/i3lock/;
maintainers = with maintainers; [ garbas malyn ];
license = licenses.bsd3;
platforms = platforms.all;
2013-03-29 18:24:24 +01:00
};
}