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 {
|
2016-07-12 11:15:51 +02:00
|
|
|
name = "i3lock-2.8";
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/i3lock/${name}.tar.bz2";
|
2016-07-12 11:15:51 +02:00
|
|
|
sha256 = "028fc0f74df10826514d5a4ed38f6895935d1f5d47ca9fcffc64b076aaf6e2f4";
|
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 = ''
|
2015-01-28 19:56:13 +01:00
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
cp *.1 $out/share/man/man1
|
2015-01-28 05:44:09 +01:00
|
|
|
'';
|
2012-04-30 16:34:57 +02:00
|
|
|
|
2015-01-28 05:44:09 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A simple screen locker like slock";
|
2015-01-28 05:44:09 +01:00
|
|
|
homepage = http://i3wm.org/i3lock/;
|
2016-05-17 13:57:28 +02:00
|
|
|
maintainers = with maintainers; [ garbas malyn domenkozar ];
|
2015-01-28 05:44:09 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
2013-03-29 18:24:24 +01:00
|
|
|
};
|
2012-04-30 16:34:57 +02:00
|
|
|
|
|
|
|
}
|