1{
2 stdenv,
3 lib,
4 fetchurl,
5 meson,
6 pkg-config,
7 ninja,
8 wayland-scanner,
9 wayland,
10 libepoxy,
11 glib,
12 libwpe,
13 libxkbcommon,
14 libGL,
15 libX11,
16}:
17
18stdenv.mkDerivation rec {
19 pname = "wpebackend-fdo";
20 version = "1.16.0";
21
22 src = fetchurl {
23 url = "https://wpewebkit.org/releases/wpebackend-fdo-${version}.tar.xz";
24 sha256 = "sha256-vt3zISMtW9CBBsF528YA+M6I6zYgtKWaYykGO3j2RjU=";
25 };
26
27 depsBuildBuild = [
28 pkg-config
29 ];
30
31 nativeBuildInputs = [
32 pkg-config
33 meson
34 ninja
35 wayland-scanner
36 ];
37
38 buildInputs = [
39 wayland
40 libepoxy
41 glib
42 libwpe
43 libxkbcommon
44 libGL
45 libX11
46 ];
47
48 meta = with lib; {
49 description = "Freedesktop.org backend for WPE WebKit";
50 license = licenses.bsd2;
51 homepage = "https://wpewebkit.org";
52 maintainers = with maintainers; [ matthewbauer ];
53 platforms = platforms.linux;
54 };
55}