Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
hyprwayland-scanner,
|
|
libxkbcommon,
|
|
pango,
|
|
libjpeg,
|
|
hyprutils,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "hyprmagnifier";
|
|
version = "0.0.1-unstable-2025-05-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "st0rmbtw";
|
|
repo = "hyprmagnifier";
|
|
rev = "ce05ed35a1a7f9df976be7ee604d291ddad9c91c";
|
|
hash = "sha256-vsQnL3R7lPKsUlDQKXirWMj/3qI377g7PkKlN+eVDTI=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
hyprwayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
wayland
|
|
wayland-protocols
|
|
wayland-scanner
|
|
hyprwayland-scanner
|
|
libxkbcommon
|
|
pango
|
|
libjpeg
|
|
hyprutils
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "wlroots-compatible Wayland magnifier that does not suck";
|
|
homepage = "https://github.com/st0rmbtw/hyprmagnifier";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
matthewcroughan
|
|
];
|
|
mainProgram = "hyprmagnifier";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|