1 { stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libxcb, xcbutilkeysyms, xcbutilimage,
2 xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile, xorg }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-cC908c47fkU6msLqZSxpEbKxO1/PatH81QeuCzBSZGw=";
15 nativeBuildInputs = [ meson ninja pkg-config ];
16 buildInputs = [ libxcb xcbutilkeysyms xcbutilimage xcbutilxrm
17 pam libX11 libev cairo libxkbcommon libxkbfile xorg.xcbutil ];
20 description = "A simple screen locker like slock";
22 Simple screen locker. After locking, a colored background (default: white) or
23 a configurable image is shown, and a ring-shaped unlock-indicator gives feedback
24 for every keystroke. After entering your password, the screen is unlocked again.
26 homepage = "https://i3wm.org/i3lock/";
27 maintainers = with maintainers; [ malyn domenkozar ];
28 mainProgram = "i3lock";
29 license = licenses.bsd3;
30 platforms = platforms.all;