mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
69 lines
1.1 KiB
Nix
69 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, libGL
|
|
, libxkbcommon
|
|
, libxml2
|
|
, libevdev
|
|
, libinput
|
|
, mesa
|
|
, meson
|
|
, ninja
|
|
, pixman
|
|
, pkg-config
|
|
, udev
|
|
, wayland
|
|
, wayland-protocols
|
|
, wayland-scanner
|
|
, wlroots
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "waybox";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wizbright";
|
|
repo = "waybox";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-hAXS9laDfigWR2pfNmdPiOeez3NpTIuKHnpeQyYa9IQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
libGL
|
|
libxkbcommon
|
|
libxml2
|
|
libevdev
|
|
libinput
|
|
mesa # for libEGL
|
|
pixman
|
|
udev
|
|
wayland
|
|
wayland-protocols
|
|
wlroots
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
passthru.providedSessions = [ "waybox" ];
|
|
|
|
meta = {
|
|
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;
|
|
};
|
|
})
|