diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gtk-sharp/3.0.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gtk-sharp/3.0.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gtk-sharp/3.0.nix b/nixpkgs/pkgs/development/libraries/gtk-sharp/3.0.nix new file mode 100644 index 000000000000..f8f1f20cc2fd --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/gtk-sharp/3.0.nix @@ -0,0 +1,52 @@ +{ stdenv, fetchurl, pkgconfig, mono +, glib +, pango +, gtk3 +, GConf ? null +, libglade ? null +, libgtkhtml ? null +, gtkhtml ? null +, libgnomecanvas ? null +, libgnomeui ? null +, libgnomeprint ? null +, libgnomeprintui ? null +, libxml2 +, monoDLLFixer +}: + +stdenv.mkDerivation { + name = "gtk-sharp-2.99.3"; + + builder = ./builder.sh; + src = fetchurl { + #"mirror://gnome/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.tar.xz"; + url = "http://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.tar.xz"; + sha256 = "18n3l9zcldyvn4lwi8izd62307mkhz873039nl6awrv285qzah34"; + }; + + # patch bad usage of glib, which wasn't tolerated anymore + # prePatch = '' + # for f in glib/glue/{thread,list,slist}.c; do + # sed -i 's,#include <glib/.*\.h>,#include <glib.h>,g' "$f" + # done + # ''; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ + mono glib pango gtk3 GConf libglade libgnomecanvas + libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2 + ]; + + dontStrip = true; + + inherit monoDLLFixer; + + passthru = { + inherit gtk3; + }; + + meta = { + platforms = stdenv.lib.platforms.linux; + broken = true; # 2018-09-21, build has failed since 2018-04-28 + }; +} |