diff options
author | tdro <tdro@users.noreply.github.com> | 2023-01-22 02:59:39 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2023-01-22 02:59:39 -0500 |
commit | d16541946a7d346eb489f7a9e7cb39faaff0f402 (patch) | |
tree | 9abc66c7c2e3c5d3f6985efdbbcaff4f85c184d6 | |
parent | 67c78ae182e25ba10d4ce99390c1979cef3eb8a9 (diff) | |
download | dotfiles-d16541946a7d346eb489f7a9e7cb39faaff0f402.tar.gz dotfiles-d16541946a7d346eb489f7a9e7cb39faaff0f402.tar.bz2 dotfiles-d16541946a7d346eb489f7a9e7cb39faaff0f402.zip |
.config/nixpkgs: Add fixed wf-shell
-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; + }; +} |