2020-08-23 05:27:41 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, pkg-config
|
|
|
|
, libxkbcommon
|
|
|
|
, libGL
|
|
|
|
, ninja
|
|
|
|
, libX11 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libwpe";
|
2021-04-30 20:15:24 +01:00
|
|
|
version = "1.10.0";
|
2020-08-23 05:27:41 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz";
|
2021-04-30 20:15:24 +01:00
|
|
|
sha256 = "sha256-JBXicNReNZXtQFK8EF9zN0TcLTZ34S/0qDHlAphBCE0=";
|
2020-08-23 05:27:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxkbcommon
|
|
|
|
libGL
|
|
|
|
libX11
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "General-purpose library for WPE WebKit";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
homepage = "https://wpewebkit.org";
|
|
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|