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

31 lines
878 B
Nix
Raw Normal View History

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