depot/third_party/nixpkgs/pkgs/by-name/wa/wayfreeze/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

40 lines
950 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
libxkbcommon,
nix-update-script,
}:
rustPlatform.buildRustPackage {
pname = "wayfreeze";
version = "0-unstable-2024-12-26";
src = fetchFromGitHub {
owner = "Jappie3";
repo = "wayfreeze";
rev = "5f7b7f50b69962b41a685c82fc9e82370d02275a";
hash = "sha256-ARnA0R5wZqHDIY+0le0F9okpJS4OI9XpLjN3vsmqUkY=";
};
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
useFetchCargoVendor = true;
cargoHash = "sha256-jA+hVVV2hM/Hw/9rzGM63UuT/aq488kTMC/AKwSmoJk=";
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;
};
}