lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #201981 from jordanisaacs/waylock-init

authored by

Bernardo Meurer and committed by
GitHub
6e6ef77e ce6d05db

+60
+6
maintainers/maintainer-list.nix
··· 15909 15909 github = "wuyoli"; 15910 15910 githubId = 104238274; 15911 15911 }; 15912 + jordanisaacs = { 15913 + name = "Jordan Isaacs"; 15914 + email = "nix@jdisaacs.com"; 15915 + github = "jordanisaacs"; 15916 + githubId = 19742638; 15917 + }; 15912 15918 }
+52
pkgs/applications/misc/waylock/default.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + zig, 6 + wayland, 7 + pkg-config, 8 + scdoc, 9 + wayland-protocols, 10 + libxkbcommon, 11 + pam, 12 + }: 13 + stdenv.mkDerivation rec { 14 + pname = "waylock"; 15 + version = "0.4.2"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "ifreund"; 19 + repo = pname; 20 + rev = "v${version}"; 21 + sha256 = "sha256-yWjWcnGa4a+Dpc82H65yr8H7v88g/tDq0FSguubhbEI="; 22 + fetchSubmodules = true; 23 + }; 24 + 25 + nativeBuildInputs = [zig wayland scdoc pkg-config]; 26 + 27 + buildInputs = [ 28 + wayland-protocols 29 + libxkbcommon 30 + pam 31 + ]; 32 + 33 + dontConfigure = true; 34 + 35 + preBuild = '' 36 + export HOME=$TMPDIR 37 + ''; 38 + 39 + installPhase = '' 40 + runHook preInstall 41 + zig build -Drelease-safe -Dman-pages --prefix $out install 42 + runHook postInstall 43 + ''; 44 + 45 + meta = with lib; { 46 + homepage = "https://github.com/ifreund/waylock"; 47 + description = "A small screenlocker for Wayland compositors"; 48 + license = licenses.isc; 49 + platforms = platforms.linux; 50 + maintainers = with maintainers; [jordanisaacs]; 51 + }; 52 + }
+2
pkgs/top-level/all-packages.nix
··· 29439 29439 29440 29440 waybar = callPackage ../applications/misc/waybar {}; 29441 29441 29442 + waylock = callPackage ../applications/misc/waylock {}; 29443 + 29442 29444 wayshot = callPackage ../tools/misc/wayshot { }; 29443 29445 29444 29446 waylevel = callPackage ../tools/misc/waylevel { };