2012-04-30 16:34:57 +02:00
|
|
|
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutilimage,
|
2013-07-08 01:18:12 +02:00
|
|
|
pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-03 13:24:29 +02:00
|
|
|
name = "i3lock-2.6";
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/i3lock/${name}.tar.bz2";
|
2014-08-03 13:24:29 +02:00
|
|
|
sha256 = "0aj0an8fwv66jhda499r3xa00546cc9ja1dk8xpc6sy6xygqjbf0";
|
2012-04-30 16:34:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutilimage pam libX11
|
2013-07-08 01:18:12 +02:00
|
|
|
libev cairo libxkbcommon libxkbfile ];
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
makeFlags = "all";
|
|
|
|
installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc";
|
2015-01-28 05:44:09 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/man/man1
|
|
|
|
cp *.1 $out/man/man1
|
|
|
|
'';
|
2012-04-30 16:34:57 +02:00
|
|
|
|
2015-01-28 05:44:09 +01:00
|
|
|
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
|
|
|
};
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
}
|