2018-12-25 00:56:49 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkgconfig
|
|
|
|
, gtk2
|
|
|
|
, mono
|
|
|
|
, gtk-sharp-2_0
|
|
|
|
, gnome2
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, which
|
|
|
|
}:
|
2014-11-06 01:24:59 +01:00
|
|
|
|
2018-12-25 00:56:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gnome-sharp";
|
2018-12-25 00:56:49 +01:00
|
|
|
version = "2.24.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mono";
|
|
|
|
repo = "gnome-sharp";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2018-12-25 00:56:49 +01:00
|
|
|
sha256 = "15jsm6n0sih0nf3w8vmvik97q7l3imz4vkdzmp9k7bssiz4glj1z";
|
2014-11-06 01:24:59 +01:00
|
|
|
};
|
|
|
|
|
2018-12-25 00:56:49 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoconf automake libtool which ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ gtk2 mono gtk-sharp-2_0 ]
|
2018-12-25 00:56:49 +01:00
|
|
|
++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui ]);
|
2014-11-06 01:24:59 +01:00
|
|
|
|
2019-08-07 07:45:53 +02:00
|
|
|
patches = [ ./fix-mono-path.patch ];
|
|
|
|
|
2018-12-25 00:56:49 +01:00
|
|
|
preConfigure = ''
|
|
|
|
./bootstrap-${lib.versions.majorMinor version}
|
|
|
|
'';
|
2014-11-06 01:24:59 +01:00
|
|
|
|
2015-03-31 00:48:25 +02:00
|
|
|
dontStrip = true;
|
|
|
|
|
2014-11-06 01:24:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-04-22 10:14:28 +02:00
|
|
|
homepage = https://www.mono-project.com/docs/gui/gtksharp/;
|
2014-11-06 01:24:59 +01:00
|
|
|
description = "A .NET language binding for assorted GNOME libraries";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|