aboutsummaryrefslogtreecommitdiff
path: root/.config/nixpkgs/packages/wf-shell/default.nix
blob: a7ef4a02555e7e631e5ac0eb6a59bc123ccdd0ee (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
28
29
30
31
32
{ stdenv, lib, fetchgit, meson, ninja, pkg-config, wayland, alsa-lib, gtkmm3
, gtk-layer-shell, pulseaudio, wayfire, wf-config }:

stdenv.mkDerivation rec {
  pname = "wf-shell";
  version = "deffdbae2df1f4f3280e5416965b977062059b41";

  src = fetchgit {
    url = "https://github.com/WayfireWM/wf-shell";
    sha256 = "sha256-eCga6ZdxqJYKc9yAI77fZUXOSaee8ijCE0XiJRJtDAg=";
  };

  nativeBuildInputs = [ meson ninja pkg-config wayland ];

  buildInputs = [
    alsa-lib
    gtkmm3
    gtk-layer-shell
    pulseaudio
    wayfire
    wf-config
  ];

  mesonFlags = [ "--sysconfdir" "/etc" ];

  meta = with lib; {
    homepage = "https://github.com/WayfireWM/wf-shell";
    description = "GTK3-based panel for Wayfire";
    license = licenses.mit;
    platforms = platforms.unix;
  };
}