Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, lib 3, fetchurl 4, meson 5, pkg-config 6, libxkbcommon 7, libGL 8, ninja 9, libX11 10, webkitgtk 11}: 12 13stdenv.mkDerivation rec { 14 pname = "libwpe"; 15 version = "1.14.1"; 16 17 src = fetchurl { 18 url = "https://wpewebkit.org/releases/libwpe-${version}.tar.xz"; 19 sha256 = "sha256-sdDNzw+Nu0lOZbD3kT41cQbamg1X9Pu3udEjim2+mt4="; 20 }; 21 22 nativeBuildInputs = [ 23 pkg-config 24 meson 25 ninja 26 ]; 27 28 buildInputs = [ 29 libxkbcommon 30 libGL 31 libX11 32 ]; 33 34 meta = with lib; { 35 description = "General-purpose library for WPE WebKit"; 36 license = licenses.bsd2; 37 homepage = "https://wpewebkit.org"; 38 maintainers = webkitgtk.meta.maintainers ++ (with maintainers; [ matthewbauer ]); 39 platforms = platforms.linux; 40 }; 41}