1{
2 stdenv,
3 lib,
4 fetchurl,
5 meson,
6 pkg-config,
7 libxkbcommon,
8 libGL,
9 ninja,
10 libX11,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "libwpe";
15 version = "1.16.2";
16
17 src = fetchurl {
18 url = "https://wpewebkit.org/releases/libwpe-${version}.tar.xz";
19 sha256 = "sha256-lgvdEcPyz1vZFWlgPtbSqkL9QADtfKyTCoBOrDZ4iNc=";
20 };
21
22 nativeBuildInputs = [
23 pkg-config
24 meson
25 ninja
26 ];
27
28 buildInputs = [
29 libxkbcommon
30 libGL
31 libX11
32 ];
33
34 meta = with lib; {
35 description = "General-purpose library for WPE WebKit";
36 license = licenses.bsd2;
37 homepage = "https://wpewebkit.org";
38 maintainers = with maintainers; [ matthewbauer ];
39 platforms = platforms.linux;
40 };
41}