1{stdenv, fetchurl, pkgconfig, gtk2, mono, gtk-sharp-2_0, gnome2}:
2
3stdenv.mkDerivation {
4 name = "gnome-sharp-2.24.1";
5 src = fetchurl {
6 url = http://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.24/gnome-sharp-2.24.1.tar.gz;
7 sha256 = "0cfvs7hw67fp0wimskqd0gdfx323gv6hi0c5pf59krnmhdrl6z8p";
8 };
9
10 nativeBuildInputs = [ pkgconfig ];
11 buildInputs = [ gtk2 mono gtk-sharp-2_0 ]
12 ++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui]);
13
14 patches = [ ./Makefile.in.patch ];
15
16 dontStrip = true;
17
18 meta = with stdenv.lib; {
19 homepage = http://www.mono-project.com/docs/gui/gtksharp/;
20 description = "A .NET language binding for assorted GNOME libraries";
21 license = licenses.lgpl21;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ vbgl ];
24 };
25}