mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
55 lines
919 B
Nix
55 lines
919 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, libxkbcommon
|
|
, wayland
|
|
, wayland-scanner
|
|
, wayland-protocols
|
|
, wlroots
|
|
, pixman
|
|
, udev
|
|
, libGL
|
|
, mesa
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "waybox";
|
|
version = "unstable-2021-04-07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wizbright";
|
|
repo = pname;
|
|
rev = "309ccd2faf08079e698104b19eff32b3a255b947";
|
|
hash = "sha256-G32cGmOwmnuVlj1hCq9NRti6plJbkAktfzM4aYzQ+k8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
meson
|
|
ninja
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
libxkbcommon
|
|
wayland
|
|
wayland-protocols
|
|
wlroots
|
|
pixman
|
|
udev
|
|
libGL
|
|
mesa # for libEGL
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/wizbright/waybox";
|
|
description = "An openbox clone on Wayland";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|