16 stdenv.mkDerivation (finalAttrs: {
20 src = fetchFromGitea {
21 domain = "codeberg.org";
24 rev = "v${finalAttrs.version}";
25 fetchSubmodules = true;
26 hash = "sha256-jfMSar+Y3inu1Cly6rIDw+akBJIQ6huL0smAstgQmEo=";
29 deps = callPackage ./build.zig.zon.nix { };
52 substituteInPlace pam.d/waylock --replace-fail "system-auth" "login"
55 passthru.updateScript = ./update.sh;
58 homepage = "https://codeberg.org/ifreund/waylock";
59 changelog = "https://codeberg.org/ifreund/waylock/releases/tag/v${finalAttrs.version}";
60 description = "Small screenlocker for Wayland compositors";
61 license = lib.licenses.isc;
62 maintainers = with lib.maintainers; [
66 mainProgram = "waylock";
67 platforms = lib.platforms.linux;