2022-07-11 11:58:55 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libxcb, xcbutilkeysyms, xcbutilimage,
|
2019-08-06 10:06:35 +01:00
|
|
|
xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "i3lock";
|
2022-07-11 11:58:55 +01:00
|
|
|
version = "2.14.1";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
2022-07-11 11:58:55 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "i3";
|
|
|
|
repo = "i3lock";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-cC908c47fkU6msLqZSxpEbKxO1/PatH81QeuCzBSZGw=";
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
2022-07-11 11:58:55 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ libxcb xcbutilkeysyms xcbutilimage xcbutilxrm
|
2019-08-06 10:06:35 +01:00
|
|
|
pam libX11 libev cairo libxkbcommon libxkbfile ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A simple screen locker like slock";
|
2018-05-07 21:25:14 +01: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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://i3wm.org/i3lock/";
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ malyn domenkozar ];
|
2023-08-11 17:06:15 +01:00
|
|
|
mainProgram = "i3lock";
|
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
|
|
|
|
|
|
|
}
|