mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
74 lines
1.1 KiB
Nix
74 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, fontconfig
|
|
, icu
|
|
, libdrm
|
|
, libGL
|
|
, libinput
|
|
, libX11
|
|
, libXcursor
|
|
, libxkbcommon
|
|
, mesa
|
|
, pixman
|
|
, seatd
|
|
, srm-cuarzo
|
|
, udev
|
|
, wayland
|
|
, xorgproto
|
|
}:
|
|
stdenv.mkDerivation (self: {
|
|
pname = "louvre";
|
|
version = "1.2.1-2";
|
|
rev = "v${self.version}";
|
|
hash = "sha256-jHMgn6EwWt9GMT8JvIUtUPbn9o1DZCzxiYC7RnoGZv0=";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit (self) rev hash;
|
|
owner = "CuarzoSoftware";
|
|
repo = "Louvre";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
fontconfig
|
|
icu
|
|
libdrm
|
|
libGL
|
|
libinput
|
|
libX11
|
|
libXcursor
|
|
libxkbcommon
|
|
mesa
|
|
pixman
|
|
seatd
|
|
srm-cuarzo
|
|
udev
|
|
wayland
|
|
xorgproto
|
|
];
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
preConfigure = ''
|
|
# The root meson.build file is in src/
|
|
cd src
|
|
'';
|
|
|
|
meta = {
|
|
description = "C++ library for building Wayland compositors";
|
|
homepage = "https://github.com/CuarzoSoftware/Louvre";
|
|
mainProgram = "louvre-views";
|
|
maintainers = [ lib.maintainers.dblsaiko ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|