Files
nixpkgs/pkgs/by-name/wa/wayfreeze/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

40 lines
920 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
libxkbcommon,
nix-update-script,
}:
rustPlatform.buildRustPackage {
pname = "wayfreeze";
version = "0-unstable-2025-07-08";
src = fetchFromGitHub {
owner = "Jappie3";
repo = "wayfreeze";
rev = "dc41ae1662c4c760f3deba9f826ba605e99971cc";
hash = "sha256-dDncKClSsRfkQ27x67U2Mpdcc+nx28bNZughJKar+RU=";
};
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
cargoHash = "sha256-uzTT4WyR7kCL/HPu7JHGQqG9tbO1JGIW1Jtlza5lhPk=";
buildInputs = [
libxkbcommon
];
meta = with lib; {
description = "Tool to freeze the screen of a Wayland compositor";
homepage = "https://github.com/Jappie3/wayfreeze";
license = licenses.agpl3Only;
maintainers = with lib.maintainers; [
purrpurrn
jappie3 # upstream dev
];
mainProgram = "wayfreeze";
platforms = platforms.linux;
};
}