diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/nixpkgs/config.nix | 1 | ||||
-rw-r--r-- | .config/nixpkgs/packages/wf-shell/default.nix | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.config/nixpkgs/config.nix b/.config/nixpkgs/config.nix index 6f872c9..48e441f 100644 --- a/.config/nixpkgs/config.nix +++ b/.config/nixpkgs/config.nix @@ -314,6 +314,7 @@ in Wayland = pkgs.buildEnv { name = "wayland"; paths = [ + (callPackage ./packages/wf-shell/default.nix { }) wayfire weston wofi diff --git a/.config/nixpkgs/packages/wf-shell/default.nix b/.config/nixpkgs/packages/wf-shell/default.nix new file mode 100644 index 0000000..a7ef4a0 --- /dev/null +++ b/.config/nixpkgs/packages/wf-shell/default.nix @@ -0,0 +1,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; + }; +} |