diff options
author | Kevin Cox <kevincox@kevincox.ca> | 2020-08-31 18:14:37 -0400 |
---|---|---|
committer | Kevin Cox <kevincox@kevincox.ca> | 2020-09-01 12:09:52 -0400 |
commit | 5a3e36cbd364d16405dfea7e6411c95d76e6dfcf (patch) | |
tree | 48eee817b6ff2b759694c2ea98b8f7d50bf9b098 /pkgs/development/libraries/webkit2-sharp | |
parent | b609ed3fb65d86955565c7c7447c10bcce3e182e (diff) |
webkit2-sharp: init at master
Diffstat (limited to 'pkgs/development/libraries/webkit2-sharp')
-rw-r--r-- | pkgs/development/libraries/webkit2-sharp/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/libraries/webkit2-sharp/default.nix b/pkgs/development/libraries/webkit2-sharp/default.nix new file mode 100644 index 0000000000000..b8a476b3b332b --- /dev/null +++ b/pkgs/development/libraries/webkit2-sharp/default.nix @@ -0,0 +1,49 @@ +{ + stdenv, + autoreconfHook, + fetchFromGitHub, + gtk-sharp-3_0, + lib, + libxslt, + mono, + pkg-config, + webkitgtk, +}: + +stdenv.mkDerivation rec { + pname = "webkit2-sharp"; + version = "a59fd76dd730432c76b12ee6347ea66567107ab9"; + + src = fetchFromGitHub { + owner = "hbons"; + repo = "webkit2-sharp"; + rev = version; + sha256 = "sha256:0a7vx81zvzn2wq4q2mqrxvlps1mqk28lm1gpfndqryxm4iiw28vc"; + }; + + nativeBuildInputs = [ + autoreconfHook + libxslt + mono + pkg-config + ]; + + buildInputs = [ + gtk-sharp-3_0 + webkitgtk + ]; + + ac_cv_path_MONODOCER = "no"; + installFlagsArray = ["GAPIXMLDIR=/tmp/gapixml"]; + + passthru = { + inherit webkitgtk; + }; + + meta = { + description = "C# bindings for WebKit 2 with GTK+ 3"; + homepage = "https://github.com/hbons/webkit2-sharp"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ kevincox ]; + }; +} |