python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / wa / wayfreeze / package.nix
blob7a53a49f6fb734f5ee89be8d3018d1c2feceab32
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5   libxkbcommon,
6   nix-update-script,
7 }:
9 rustPlatform.buildRustPackage {
10   pname = "wayfreeze";
11   version = "0-unstable-2024-09-20";
13   src = fetchFromGitHub {
14     owner = "Jappie3";
15     repo = "wayfreeze";
16     rev = "dcbe2690ce41a286ef1eed54747bac47cee6dc2c";
17     hash = "sha256-XlZSVN/kTSA5X/kTpD/Hr5YBXdfh8gJPq5Da4tL0Gpk=";
18   };
20   passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
22   cargoHash = "sha256-DOG/IMtHYjdzfPVyFDN20+VB4oEzdSle28F07DydETc=";
24   buildInputs = [
25     libxkbcommon
26   ];
28   meta = with lib; {
29     description = "Tool to freeze the screen of a Wayland compositor";
30     homepage = "https://github.com/Jappie3/wayfreeze";
31     license = licenses.agpl3Only;
32     maintainers = with lib.maintainers; [
33       purrpurrn
34       jappie3 /* upstream dev */
35     ];
36     mainProgram = "wayfreeze";
37     platforms = platforms.linux;
38   };