hyprmagnifier: init at unstable-2025-05-16

Co-authored-by: Yiyu Zhou <yiyuzhou19@gmail.com>

+60
+60
pkgs/by-name/hy/hyprmagnifier/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + cmake, 6 + pkg-config, 7 + wayland, 8 + wayland-protocols, 9 + wayland-scanner, 10 + hyprwayland-scanner, 11 + libxkbcommon, 12 + pango, 13 + libjpeg, 14 + hyprutils, 15 + nix-update-script, 16 + }: 17 + 18 + stdenv.mkDerivation { 19 + pname = "hyprmagnifier"; 20 + version = "0.0.1-unstable-2025-05-16"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "st0rmbtw"; 24 + repo = "hyprmagnifier"; 25 + rev = "ce05ed35a1a7f9df976be7ee604d291ddad9c91c"; 26 + hash = "sha256-vsQnL3R7lPKsUlDQKXirWMj/3qI377g7PkKlN+eVDTI="; 27 + }; 28 + 29 + strictDeps = true; 30 + 31 + nativeBuildInputs = [ 32 + cmake 33 + pkg-config 34 + hyprwayland-scanner 35 + ]; 36 + 37 + buildInputs = [ 38 + wayland 39 + wayland-protocols 40 + wayland-scanner 41 + hyprwayland-scanner 42 + libxkbcommon 43 + pango 44 + libjpeg 45 + hyprutils 46 + ]; 47 + 48 + passthru.updateScript = nix-update-script { }; 49 + 50 + meta = { 51 + description = "wlroots-compatible Wayland magnifier that does not suck"; 52 + homepage = "https://github.com/st0rmbtw/hyprmagnifier"; 53 + license = lib.licenses.bsd3; 54 + maintainers = with lib.maintainers; [ 55 + matthewcroughan 56 + ]; 57 + mainProgram = "hyprmagnifier"; 58 + platforms = lib.platforms.all; 59 + }; 60 + }