diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-09-23 21:14:57 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-09-26 12:13:10 -0300 |
commit | 2a95347f70a3ef1ee7f9a9db538cae2970f3aef4 (patch) | |
tree | 73c3b5f566b5c93775f90989b3ea70f92199eeb6 /pkgs/by-name/wa | |
parent | a66b468cbfd1867c690dd86625dd5f768299967a (diff) |
waybox: migrate to by-name
Diffstat (limited to 'pkgs/by-name/wa')
-rw-r--r-- | pkgs/by-name/wa/waybox/package.nix | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/pkgs/by-name/wa/waybox/package.nix b/pkgs/by-name/wa/waybox/package.nix new file mode 100644 index 0000000000000..3274660b07529 --- /dev/null +++ b/pkgs/by-name/wa/waybox/package.nix @@ -0,0 +1,65 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, libGL +, libxkbcommon +, libxml2 +, mesa +, meson +, ninja +, pixman +, pkg-config +, udev +, wayland +, wayland-protocols +, wayland-scanner +, wlroots +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "waybox"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "wizbright"; + repo = "waybox"; + rev = finalAttrs.version; + hash = "sha256-G8dRa4hgev3x58uqp5To5OzF3zcPSuT3NL9MPnWf2M8="; + }; + + nativeBuildInputs = [ + cmake + meson + ninja + pkg-config + wayland-scanner + ]; + + buildInputs = [ + libGL + libxkbcommon + libxml2 + mesa # for libEGL + pixman + udev + wayland + wayland-protocols + wlroots + ]; + + strictDeps = true; + + dontUseCmakeConfigure = true; + + passthru.providedSessions = [ "waybox" ]; + + meta = { + homepage = "https://github.com/wizbright/waybox"; + description = "An openbox clone on Wayland"; + license = lib.licenses.mit; + mainProgram = "waybox"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + inherit (wayland.meta) platforms; + }; +}) |