depot/pkgs/by-name/wl/wlay/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

58 lines
986 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, glfw3
, libX11
, libXau
, libXdmcp
, libepoxy
, libffi
, libxcb
, pkg-config
, wayland
, wayland-scanner
}:
stdenv.mkDerivation {
pname = "wlay";
version = "unstable-2022-01-26";
src = fetchFromGitHub {
owner = "atx";
repo = "wlay";
rev = "ed316060ac3ac122c0d3d8918293e19dfe9a6c90";
hash = "sha256-Lu+EyoDHiXK9QzD4jdwbllCOCl2aEU+uK6/KxC2AUGQ=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
wayland-scanner
];
buildInputs = [
extra-cmake-modules
glfw3
libX11
libXau
libXdmcp
libepoxy
libffi
libxcb
wayland
];
strictDeps = true;
meta = {
homepage = "https://github.com/atx/wlay";
description = "Graphical output management for Wayland";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
inherit (wayland.meta) platforms;
mainProgram = "wlay";
};
}