mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
40 lines
924 B
Nix
40 lines
924 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
libxkbcommon,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "wayfreeze";
|
|
version = "0-unstable-2024-09-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Jappie3";
|
|
repo = "wayfreeze";
|
|
rev = "dcbe2690ce41a286ef1eed54747bac47cee6dc2c";
|
|
hash = "sha256-XlZSVN/kTSA5X/kTpD/Hr5YBXdfh8gJPq5Da4tL0Gpk=";
|
|
};
|
|
|
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
|
|
|
cargoHash = "sha256-DOG/IMtHYjdzfPVyFDN20+VB4oEzdSle28F07DydETc=";
|
|
|
|
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;
|
|
};
|
|
}
|