nixpkgs/pkgs/by-name/wa/waybox/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.1 KiB
Nix
Raw Normal View History

2021-02-01 21:58:44 +00:00
{ lib
, stdenv
, fetchFromGitHub
2023-03-09 05:47:55 +00:00
, cmake
, libGL
2021-02-01 21:58:44 +00:00
, libxkbcommon
, libxml2
2023-11-27 04:19:00 +00:00
, libevdev
, libinput
, mesa
, meson
, ninja
, pixman
, pkg-config
, udev
2021-02-01 21:58:44 +00:00
, wayland
, wayland-protocols
, wayland-scanner
2021-02-01 21:58:44 +00:00
, wlroots
}:
stdenv.mkDerivation (finalAttrs: {
2021-02-01 21:58:44 +00:00
pname = "waybox";
2023-11-27 04:19:00 +00:00
version = "0.2.2";
2021-02-01 21:58:44 +00:00
src = fetchFromGitHub {
owner = "wizbright";
repo = "waybox";
rev = finalAttrs.version;
2023-11-27 04:19:00 +00:00
hash = "sha256-hAXS9laDfigWR2pfNmdPiOeez3NpTIuKHnpeQyYa9IQ=";
2021-02-01 21:58:44 +00:00
};
nativeBuildInputs = [
2023-03-09 05:47:55 +00:00
cmake
meson
ninja
pkg-config
wayland-scanner
];
2021-02-01 21:58:44 +00:00
buildInputs = [
libGL
2021-02-01 21:58:44 +00:00
libxkbcommon
2023-03-09 05:47:55 +00:00
libxml2
2023-11-27 04:19:00 +00:00
libevdev
libinput
mesa # for libEGL
pixman
udev
2021-02-01 21:58:44 +00:00
wayland
wayland-protocols
wlroots
];
strictDeps = true;
dontUseCmakeConfigure = true;
2023-03-09 05:47:55 +00:00
passthru.providedSessions = [ "waybox" ];
meta = {
2021-02-01 21:58:44 +00:00
homepage = "https://github.com/wizbright/waybox";
description = "Openbox clone on Wayland";
license = lib.licenses.mit;
mainProgram = "waybox";
maintainers = with lib.maintainers; [ AndersonTorres ];
inherit (wayland.meta) platforms;
2021-02-01 21:58:44 +00:00
};
})