mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-17 07:15:57 +01:00
44 lines
652 B
Nix
44 lines
652 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
pkg-config,
|
|
cairo,
|
|
libGL,
|
|
libxkbcommon,
|
|
hyprlang,
|
|
pam,
|
|
pango,
|
|
wayland,
|
|
wayland-protocols,
|
|
version ? "git",
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "hyprlock";
|
|
inherit version;
|
|
src = ../.;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
libGL
|
|
libxkbcommon
|
|
hyprlang
|
|
pam
|
|
pango
|
|
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";
|
|
};
|
|
}
|