summaryrefslogtreecommitdiff
path: root/overlays/swayosd.nix
blob: 61c865e75581d5c37df8953ed8f69a3d61f7bf50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ final, prev, sources, ... }: {
  swayosd = prev.swayosd.overrideAttrs (oldAttrs: rec {
    inherit (sources.swayosd) version src;
    cargoDeps = prev.rustPlatform.fetchCargoTarball {
      inherit (oldAttrs) pname;
      inherit version src;
      hash = "sha256-Anrk8p76HKZcNavYdi9l1oYahduLrb7Lf7knQK7Hy5E=";
    };
    nativeBuildInputs = with final; [
      wrapGAppsHook4
      pkg-config
      meson
      rustc
      cargo
      ninja
      rustPlatform.cargoSetupHook
    ];
    buildInputs = with final; [
      gtk4-layer-shell
      libevdev
      libinput
      libpulseaudio
      udev
      sassc
    ];
  });
}