2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, pkg-config
|
|
|
|
, libxkbcommon
|
|
|
|
, libGL
|
|
|
|
, ninja
|
2022-06-16 17:23:12 +00:00
|
|
|
, libX11
|
|
|
|
, webkitgtk
|
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libwpe";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.16.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-10-21 18:38:19 +00:00
|
|
|
url = "https://wpewebkit.org/releases/libwpe-${version}.tar.xz";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-x/OjxrPQBnkNSG3HzO2ittLjKd4H8zvEffxT8A8zSyo=";
|
2021-02-05 17:12:51 +00: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";
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = webkitgtk.meta.maintainers ++ (with maintainers; [ matthewbauer ]);
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|