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,
|
2024-12-16 15:59:39 +01:00
|
|
|
libsodium,
|
2024-04-24 19:06:14 +02:00
|
|
|
libwebp,
|
2024-02-19 00:50:56 +01:00
|
|
|
libxkbcommon,
|
2024-02-22 00:08:25 +01:00
|
|
|
mesa,
|
2024-11-28 17:43:11 +01:00
|
|
|
hyprgraphics,
|
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,
|
2024-10-22 02:08:24 +02:00
|
|
|
sdbus-cpp,
|
|
|
|
systemdLibs,
|
2024-02-19 00:50:56 +01:00
|
|
|
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-12-16 15:59:39 +01:00
|
|
|
libsodium
|
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-11-28 17:43:11 +01:00
|
|
|
hyprgraphics
|
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
|
2024-10-22 02:08:24 +02:00
|
|
|
sdbus-cpp
|
|
|
|
systemdLibs
|
2024-02-19 00:50:56 +01:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|