13 stdenv.mkDerivation rec {
14 pname = "webkit2-sharp";
15 version = "a59fd76dd730432c76b12ee6347ea66567107ab9";
17 src = fetchFromGitHub {
19 repo = "webkit2-sharp";
21 sha256 = "sha256:0a7vx81zvzn2wq4q2mqrxvlps1mqk28lm1gpfndqryxm4iiw28vc";
37 # Workaround build failure with WebKitGTK 2.40.0
38 # https://github.com/hbons/webkit2-sharp/issues/6
39 substituteInPlace sources/webkit2-sharp-api.raw --replace \
40 '<field cname="parentInstance" access="public" writeable="false" readable="true" name="ParentInstance" type="GtkContainer*"/>' \
41 '<field cname="parent" access="public" writeable="false" readable="true" name="Parent" type="GtkContainer*"/>'
44 ac_cv_path_MONODOCER = "no";
45 installFlags = [ "GAPIXMLDIR=/tmp/gapixml" ];
52 description = "C# bindings for WebKit 2 with GTK+ 3";
53 homepage = "https://github.com/hbons/webkit2-sharp";
54 license = lib.licenses.mit;
55 maintainers = with lib.maintainers; [ kevincox ];