mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
45 lines
652 B
Nix
45 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";
|
||
|
};
|
||
|
}
|