16 stdenv.mkDerivation (finalAttrs: {
20 src = fetchFromGitea {
21 domain = "codeberg.org";
24 rev = "v${finalAttrs.version}";
25 fetchSubmodules = true;
26 hash = "sha256-i1Nd39666xrkzi7r08ZRIXJXvK9wmzb8zdmvmWEQaHE=";
29 deps = callPackage ./build.zig.zon.nix { };
52 substituteInPlace pam.d/waylock --replace-fail "system-auth" "login"
55 passthru.updateScript = ./update.nu;
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;