mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-01-03 10:19:49 +01:00
cdef6593b6
As an alternative to PAM authentication, password hash authentication only relies on the availability of libgcrypt (and some program like OpenSSL or sha256sum to create the hash). Supports salted hashes and all hash algorithms that are available in the actual libgcrypt installation.
65 lines
905 B
Nix
65 lines
905 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
pkg-config,
|
|
cairo,
|
|
file,
|
|
libdrm,
|
|
libGL,
|
|
libgcrypt,
|
|
libjpeg,
|
|
libwebp,
|
|
libxkbcommon,
|
|
mesa,
|
|
hyprlang,
|
|
hyprutils,
|
|
pam,
|
|
pango,
|
|
sdbus-cpp,
|
|
systemdLibs,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
version ? "git",
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "hyprlock";
|
|
inherit version;
|
|
|
|
src = ../.;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
file
|
|
libdrm
|
|
libGL
|
|
libgcrypt
|
|
libjpeg
|
|
libwebp
|
|
libxkbcommon
|
|
mesa
|
|
hyprlang
|
|
hyprutils
|
|
pam
|
|
pango
|
|
sdbus-cpp
|
|
systemdLibs
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hyprwm/hyprlock";
|
|
description = "A gpu-accelerated screen lock for Hyprland";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "hyprlock";
|
|
};
|
|
}
|