Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

69 lines
1.2 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
meson,
ninja,
pkg-config,
libxcb,
xcbutilkeysyms,
xcbutilimage,
xcbutilxrm,
pam,
libX11,
libev,
cairo,
libxkbcommon,
libxkbfile,
xorg,
}:
stdenv.mkDerivation rec {
pname = "i3lock";
version = "2.15";
src = fetchFromGitHub {
owner = "i3";
repo = "i3lock";
rev = version;
sha256 = "sha256-OyV6GSLnNV3GUqrfs3OBnIaBvicH2PXgeY4acOk5dR4=";
};
separateDebugInfo = true;
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
libxcb
xcbutilkeysyms
xcbutilimage
xcbutilxrm
pam
libX11
libev
cairo
libxkbcommon
libxkbfile
xorg.xcbutil
];
meta = with lib; {
description = "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
];
mainProgram = "i3lock";
license = licenses.bsd3;
platforms = platforms.all;
};
}