1{ stdenv, fetchFromGitHub, autoconf, automake, which, pkgconfig, mono, gtk-sharp }:
2
3stdenv.mkDerivation rec {
4 name = "gio-sharp-${version}";
5 version = "0.3";
6
7 src = fetchFromGitHub {
8 owner = "mono";
9 repo = "gio-sharp";
10
11 rev = "${version}";
12 sha256 = "13pc529pjabj7lq23dbndc26ssmg5wkhc7lfvwapm87j711m0zig";
13 };
14
15 nativeBuildInputs = [ pkgconfig autoconf automake which ];
16 buildInputs = [ mono gtk-sharp ];
17
18 dontStrip = true;
19
20 prePatch = ''
21 ./autogen-2.22.sh
22 '';
23
24 meta = with stdenv.lib; {
25 description = "GIO API bindings";
26 platforms = platforms.linux;
27 };
28}