Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 49 lines 896 B view raw
1{ 2 stdenv, 3 autoreconfHook, 4 fetchFromGitHub, 5 gtk-sharp-3_0, 6 lib, 7 libxslt, 8 mono, 9 pkg-config, 10 webkitgtk, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "webkit2-sharp"; 15 version = "a59fd76dd730432c76b12ee6347ea66567107ab9"; 16 17 src = fetchFromGitHub { 18 owner = "hbons"; 19 repo = "webkit2-sharp"; 20 rev = version; 21 sha256 = "sha256:0a7vx81zvzn2wq4q2mqrxvlps1mqk28lm1gpfndqryxm4iiw28vc"; 22 }; 23 24 nativeBuildInputs = [ 25 autoreconfHook 26 libxslt 27 mono 28 pkg-config 29 ]; 30 31 buildInputs = [ 32 gtk-sharp-3_0 33 webkitgtk 34 ]; 35 36 ac_cv_path_MONODOCER = "no"; 37 installFlagsArray = ["GAPIXMLDIR=/tmp/gapixml"]; 38 39 passthru = { 40 inherit webkitgtk; 41 }; 42 43 meta = { 44 description = "C# bindings for WebKit 2 with GTK+ 3"; 45 homepage = "https://github.com/hbons/webkit2-sharp"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ kevincox ]; 48 }; 49}