nixos/uptime-kuma: Add additional lockdown settings to systemd unit (#361452)
[NixPkgs.git] / pkgs / by-name / aw / aw-watcher-window-wayland / package.nix
blob6f4a9fcb110aace06c354479a18346ffc3b98f0b
2   fetchFromGitHub,
3   lib,
4   openssl,
5   pkg-config,
6   rustPlatform,
7   unstableGitUpdater,
8   wayland,
9 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "aw-watcher-window-wayland";
12   version = "0-unstable-2024-10-08";
14   src = fetchFromGitHub {
15     owner = "ActivityWatch";
16     repo = "aw-watcher-window-wayland";
17     rev = "58bf86a6984cb01fa750c84ce468c7ccb167f796";
18     hash = "sha256-SnlShM44jnQiZGg5mjreZg1bsjFLNYMjC/krR1TXTE4=";
19   };
21   cargoHash = "sha256-WWT8tOrHPf5x3bXsVPt32VKut4qK+K8gickBfEc0zmk=";
22   useFetchCargoVendor = true;
24   passthru.updateScript = unstableGitUpdater { };
26   nativeBuildInputs = [
27     pkg-config
28   ];
30   buildInputs = [
31     openssl
32     wayland
33   ];
35   meta = {
36     description = "WIP window and afk watcher for some Wayland compositors";
37     homepage = "https://github.com/ActivityWatch/aw-watcher-window-wayland";
38     license = lib.licenses.mpl20;
39     maintainers = with lib.maintainers; [ esau79p ];
40     mainProgram = "aw-watcher-window-wayland";
41     platforms = lib.platforms.linux;
42   };