hyprlock/nix/default.nix

68 lines
938 B
Nix
Raw Normal View History

2024-02-19 00:50:56 +01:00
{
lib,
stdenv,
cmake,
pkg-config,
cairo,
file,
2024-02-21 23:55:33 +01:00
libdrm,
2024-02-19 00:50:56 +01:00
libGL,
libjpeg,
2024-12-16 15:59:39 +01:00
libsodium,
libwebp,
2024-02-19 00:50:56 +01:00
libxkbcommon,
2024-02-22 00:08:25 +01:00
mesa,
hyprgraphics,
2024-02-19 00:50:56 +01:00
hyprlang,
hyprutils,
2024-02-19 00:50:56 +01:00
pam,
pango,
sdbus-cpp,
systemdLibs,
2024-02-19 00:50:56 +01:00
wayland,
wayland-protocols,
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
wayland-scanner
2024-02-19 00:50:56 +01:00
];
buildInputs = [
cairo
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
libjpeg
libwebp
2024-02-19 00:50:56 +01:00
libxkbcommon
2024-02-22 00:08:25 +01:00
mesa
hyprgraphics
2024-02-19 00:50:56 +01:00
hyprlang
hyprutils
2024-02-19 00:50:56 +01:00
pam
pango
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";
};
}