nixpkgs-suyu/pkgs/development/libraries/libwpe/default.nix
2024-01-26 05:55:31 +00:00

41 lines
737 B
Nix

{ stdenv
, lib
, fetchurl
, meson
, pkg-config
, libxkbcommon
, libGL
, ninja
, libX11
, webkitgtk
}:
stdenv.mkDerivation rec {
pname = "libwpe";
version = "1.14.2";
src = fetchurl {
url = "https://wpewebkit.org/releases/libwpe-${version}.tar.xz";
sha256 = "sha256-iuOAIsUMs0DJb9vuEhfx5Gq1f7wci6mBQlZau+2+Iu8=";
};
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 = webkitgtk.meta.maintainers ++ (with maintainers; [ matthewbauer ]);
platforms = platforms.linux;
};
}