summaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libwpe/default.nix
blob: c2c9d50f2bf7719a855fb89ef70d17291c732a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  stdenv,
  lib,
  fetchurl,
  meson,
  pkg-config,
  libxkbcommon,
  libGL,
  ninja,
  libx11,
}:

stdenv.mkDerivation rec {
  pname = "libwpe";
  version = "1.16.3";

  src = fetchurl {
    url = "https://wpewebkit.org/releases/libwpe-${version}.tar.xz";
    sha256 = "sha256-yID6jWB7Kqbq3efW1jArE5brw4No/iMy+iDhk8fuFCA=";
  };

  nativeBuildInputs = [
    pkg-config
    meson
    ninja
  ];

  buildInputs = [
    libxkbcommon
    libGL
    libx11
  ];

  meta = {
    description = "General-purpose library for WPE WebKit";
    license = lib.licenses.bsd2;
    homepage = "https://wpewebkit.org";
    maintainers = [ ];
    platforms = lib.platforms.linux;
  };
}