2019-12-14 09:22:20 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libffcall
|
|
|
|
, pkgconfig
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2015-10-02 23:45:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-14 09:22:20 +00:00
|
|
|
pname = "gtk-server";
|
|
|
|
version = "2.4.5";
|
2015-10-02 23:45:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-14 09:22:20 +00:00
|
|
|
url = "https://www.gtk-server.org/stable/gtk-server-${version}.tar.gz";
|
|
|
|
sha256 = "0vlx5ibvc7hyc8yipjgvrx1azvmh42i9fv1khg3dvn09nrdkrc7f";
|
2015-10-02 23:45:30 +01:00
|
|
|
};
|
|
|
|
|
2019-12-14 09:22:20 +00:00
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
2015-10-02 23:45:30 +01:00
|
|
|
|
2019-12-14 09:22:20 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
|
|
|
buildInputs = [ libffcall glib gtk3 ];
|
2015-10-02 23:45:30 +01:00
|
|
|
|
2019-12-14 09:22:20 +00:00
|
|
|
configureOptions = [ "--with-gtk3" ];
|
2019-01-04 19:33:50 +00:00
|
|
|
|
2019-12-14 09:22:20 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-10-02 23:45:30 +01:00
|
|
|
description = "gtk-server for interpreted GUI programming";
|
2019-12-14 09:22:20 +00:00
|
|
|
homepage = "http://www.gtk-server.org/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.tohl ];
|
|
|
|
platforms = platforms.linux;
|
2015-10-02 23:45:30 +01:00
|
|
|
};
|
|
|
|
}
|