pari: 2.15.5 -> 2.17.1 (#348442)
[NixPkgs.git] / pkgs / by-name / hy / hyprlock / package.nix
blob6ee11eef131f59a03752726235a1a36823e42f86
2   lib,
3   gcc14Stdenv,
4   fetchFromGitHub,
5   cmake,
6   pkg-config,
7   libGL,
8   libxkbcommon,
9   hyprgraphics,
10   hyprlang,
11   hyprutils,
12   hyprwayland-scanner,
13   pam,
14   sdbus-cpp_2,
15   systemdLibs,
16   wayland,
17   wayland-protocols,
18   wayland-scanner,
19   cairo,
20   file,
21   libjpeg,
22   libwebp,
23   pango,
24   libdrm,
25   libgbm,
26   nix-update-script,
29 gcc14Stdenv.mkDerivation (finalAttrs: {
30   pname = "hyprlock";
31   version = "0.6.2";
33   src = fetchFromGitHub {
34     owner = "hyprwm";
35     repo = "hyprlock";
36     rev = "v${finalAttrs.version}";
37     hash = "sha256-PotjNmR69yAEZP/Dn4lB0p7sHBjAPclNDbc5WkBZx4s=";
38   };
40   nativeBuildInputs = [
41     cmake
42     pkg-config
43     hyprwayland-scanner
44     wayland-scanner
45   ];
47   buildInputs = [
48     cairo
49     file
50     hyprgraphics
51     hyprlang
52     hyprutils
53     libdrm
54     libGL
55     libjpeg
56     libwebp
57     libxkbcommon
58     libgbm
59     pam
60     pango
61     sdbus-cpp_2
62     systemdLibs
63     wayland
64     wayland-protocols
65   ];
67   passthru.updateScript = nix-update-script { };
69   meta = {
70     description = "Hyprland's GPU-accelerated screen locking utility";
71     homepage = "https://github.com/hyprwm/hyprlock";
72     license = lib.licenses.bsd3;
73     maintainers =
74       lib.teams.hyprland.members
75       ++ (with lib.maintainers; [
76         iynaix
77       ]);
78     mainProgram = "hyprlock";
79     platforms = lib.platforms.linux;
80   };