2022-08-12 12:06:08 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libxcb, xcbutilkeysyms, xcbutilimage,
|
2020-04-24 23:36:52 +00:00
|
|
|
xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "i3lock";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "2.14.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "i3";
|
|
|
|
repo = "i3lock";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-cC908c47fkU6msLqZSxpEbKxO1/PatH81QeuCzBSZGw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ libxcb xcbutilkeysyms xcbutilimage xcbutilxrm
|
2020-04-24 23:36:52 +00:00
|
|
|
pam libX11 libev cairo libxkbcommon libxkbfile ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A simple screen locker like slock";
|
|
|
|
longDescription = ''
|
|
|
|
Simple screen locker. After locking, a colored background (default: white) or
|
|
|
|
a configurable image is shown, and a ring-shaped unlock-indicator gives feedback
|
|
|
|
for every keystroke. After entering your password, the screen is unlocked again.
|
|
|
|
'';
|
|
|
|
homepage = "https://i3wm.org/i3lock/";
|
|
|
|
maintainers = with maintainers; [ malyn domenkozar ];
|
2023-08-22 20:05:09 +00:00
|
|
|
mainProgram = "i3lock";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|