2012-04-30 15:34:57 +01:00
|
|
|
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutilimage,
|
2013-07-08 00:18:12 +01:00
|
|
|
pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-04 19:01:57 +01:00
|
|
|
name = "i3lock-2.7";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://i3wm.org/i3lock/${name}.tar.bz2";
|
2015-09-04 19:01:57 +01:00
|
|
|
sha256 = "1qlgafbyqjpqdfs50f2y0xphn2jdigafkqqsmpikk97cs0z1i0k8";
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutilimage pam libX11
|
2013-07-08 00:18:12 +01:00
|
|
|
libev cairo libxkbcommon libxkbfile ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
makeFlags = "all";
|
|
|
|
installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc";
|
2015-01-28 04:44:09 +00:00
|
|
|
postInstall = ''
|
2015-01-28 18:56:13 +00:00
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
cp *.1 $out/share/man/man1
|
2015-01-28 04:44:09 +00:00
|
|
|
'';
|
2012-04-30 15:34:57 +01:00
|
|
|
|
2015-01-28 04:44:09 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A simple screen locker like slock";
|
2015-01-28 04:44:09 +00:00
|
|
|
homepage = http://i3wm.org/i3lock/;
|
2016-05-17 12:57:28 +01:00
|
|
|
maintainers = with maintainers; [ garbas malyn domenkozar ];
|
2015-01-28 04:44:09 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
2013-03-29 17:24:24 +00:00
|
|
|
};
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
}
|