aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/webkit2-sharp/default.nix
blob: b8a476b3b332bf1fc640018629e1bc0184834090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 ];
  };
}