40 lines
694 B
Nix
40 lines
694 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, meson
|
|
, pkg-config
|
|
, libxkbcommon
|
|
, libGL
|
|
, ninja
|
|
, libX11 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libwpe";
|
|
version = "1.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-pvAKfQkcvU21f+fuO0wSxjUJIdZU7XmBKACibIiEgdI=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|