2022-08-12 12:06:08 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libxcb, xcbutilkeysyms, xcbutilimage,
|
2023-11-16 04:20:00 +00:00
|
|
|
xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile, xorg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "i3lock";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "i3";
|
|
|
|
repo = "i3lock";
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-OyV6GSLnNV3GUqrfs3OBnIaBvicH2PXgeY4acOk5dR4=";
|
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
|
2023-11-16 04:20:00 +00:00
|
|
|
pam libX11 libev cairo libxkbcommon libxkbfile xorg.xcbutil ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple screen locker like slock";
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|