2024-02-19 00:50:56 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
cairo,
|
2024-04-24 19:06:14 +02:00
|
|
|
file,
|
2024-02-21 23:55:33 +01:00
|
|
|
libdrm,
|
2024-02-19 00:50:56 +01:00
|
|
|
libGL,
|
2024-04-24 19:06:14 +02:00
|
|
|
libjpeg,
|
|
|
|
libwebp,
|
2024-02-19 00:50:56 +01:00
|
|
|
libxkbcommon,
|
2024-02-22 00:08:25 +01:00
|
|
|
mesa,
|
2024-02-19 00:50:56 +01:00
|
|
|
hyprlang,
|
2024-06-08 23:49:49 +02:00
|
|
|
hyprutils,
|
2024-02-19 00:50:56 +01:00
|
|
|
pam,
|
|
|
|
pango,
|
|
|
|
wayland,
|
|
|
|
wayland-protocols,
|
2024-09-01 15:11:59 +02:00
|
|
|
wayland-scanner,
|
2024-02-19 00:50:56 +01:00
|
|
|
version ? "git",
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "hyprlock";
|
|
|
|
inherit version;
|
2024-03-21 18:25:55 +01:00
|
|
|
|
2024-02-19 00:50:56 +01:00
|
|
|
src = ../.;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
2024-09-01 15:11:59 +02:00
|
|
|
wayland-scanner
|
2024-02-19 00:50:56 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
2024-04-24 19:06:14 +02:00
|
|
|
file
|
2024-02-21 23:55:33 +01:00
|
|
|
libdrm
|
2024-02-19 00:50:56 +01:00
|
|
|
libGL
|
2024-04-24 19:06:14 +02:00
|
|
|
libjpeg
|
|
|
|
libwebp
|
2024-02-19 00:50:56 +01:00
|
|
|
libxkbcommon
|
2024-02-22 00:08:25 +01:00
|
|
|
mesa
|
2024-02-19 00:50:56 +01:00
|
|
|
hyprlang
|
2024-06-08 23:49:49 +02:00
|
|
|
hyprutils
|
2024-02-19 00:50:56 +01:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|