mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
1.1 KiB
Nix
34 lines
1.1 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=";
|
|
};
|
|
|
|
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 domenkozar ];
|
|
mainProgram = "i3lock";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
|
|
}
|