nixpkgs/pkgs/development/libraries/gtk-sharp/3.0.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, mono
, glib
, pango
2016-01-24 13:43:13 +01:00
, gtk3
, GConf ? null
, libglade ? null
, libgtkhtml ? null
, gtkhtml ? null
, libgnomecanvas ? null
, libgnomeui ? null
, libgnomeprint ? null
, libgnomeprintui ? null
, libxml2
, monoDLLFixer
}:
stdenv.mkDerivation {
2016-01-24 13:43:13 +01:00
name = "gtk-sharp-2.99.3";
builder = ./builder.sh;
src = fetchurl {
2016-01-24 13:43:13 +01:00
#"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";
};
2013-02-24 00:14:58 +01:00
# patch bad usage of glib, which wasn't tolerated anymore
2016-01-24 13:43:13 +01:00
# prePatch = ''
# for f in glib/glue/{thread,list,slist}.c; do
# sed -i 's,#include <glib/.*\.h>,#include <glib.h>,g' "$f"
# done
# '';
2013-02-24 00:14:58 +01:00
buildInputs = [
2016-01-24 13:43:13 +01:00
pkgconfig mono glib pango gtk3 GConf libglade libgnomecanvas
libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2
];
dontStrip = true;
inherit monoDLLFixer;
passthru = {
2016-01-24 13:43:13 +01:00
inherit gtk3;
};
meta = {
platforms = stdenv.lib.platforms.linux;
};
}