Adds gnome-sharp

A .Net language binding for assorted GNOME libraries
This commit is contained in:
Vincent Laporte 2014-11-06 00:24:59 +00:00
parent 038c7b3fbb
commit 1da730d910
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/sample/gnomevfs/Makefile.in 2009-03-03 16:09:52.000000000 +0000
+++ b/sample/gnomevfs/Makefile.in 2014-10-14 13:35:51.020427244 +0100
@@ -218,7 +218,7 @@
@ENABLE_GNOMEVFS_FALSE@EXTRA_TARGETS =
@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_FALSE@EXTRA_TARGETS =
-@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS = TestXfer.exe
+@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS =
assemblies = ../../gnomevfs/gnome-vfs-sharp.dll
references = $(GTKSHARP_LIBS) $(addprefix /r:, $(assemblies))
noinst_SCRIPTS = $(TARGETS) $(EXTRA_TARGETS)

View File

@ -0,0 +1,22 @@
{stdenv, fetchurl, pkgconfig, gtk, mono, gtk-sharp, gnome}:
stdenv.mkDerivation {
name = "gnome-sharp-2.24.1";
src = fetchurl {
url = http://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.24/gnome-sharp-2.24.1.tar.gz;
sha256 = "0cfvs7hw67fp0wimskqd0gdfx323gv6hi0c5pf59krnmhdrl6z8p";
};
buildInputs = [ pkgconfig gtk mono gtk-sharp ]
++ (with gnome; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui]);
patches = [ ./Makefile.in.patch ];
meta = with stdenv.lib; {
homepage = http://www.mono-project.com/docs/gui/gtksharp/;
description = "A .NET language binding for assorted GNOME libraries";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ vbgl ];
};
}

View File

@ -5582,6 +5582,8 @@ let
else stdenv;
};
gnome-sharp = callPackage ../development/libraries/gnome-sharp {};
granite = callPackage ../development/libraries/granite { };
gtk2 = callPackage ../development/libraries/gtk+/2.x.nix {