louvre: init at 1.1.0-1
This commit is contained in:
parent
e93fba74a2
commit
a5bd05ad09
1 changed files with 73 additions and 0 deletions
73
pkgs/by-name/lo/louvre/package.nix
Normal file
73
pkgs/by-name/lo/louvre/package.nix
Normal file
|
@ -0,0 +1,73 @@
|
|||
{ 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.1.0-1";
|
||||
rev = "v${self.version}";
|
||||
hash = "sha256-HwvX0ykl2+4MBcIixmEknFtsB0QC4w1QDzQz1589bl0=";
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue