gtk-server: 2.3.1 -> 2.4.5

Also bumped gtk version from gtk2 to gtk3
This commit is contained in:
Jonathan Ringer 2019-12-14 01:22:20 -08:00 committed by Jon
parent c8c30fac9b
commit 4b1c34cac6

View File

@ -1,28 +1,34 @@
{ stdenv, fetchurl, libffcall, gtk2, pkgconfig }:
{ stdenv, fetchurl
, glib
, gtk3
, libffcall
, pkgconfig
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
v = "2.3.1";
name = "gtk-server-${v}";
pname = "gtk-server";
version = "2.4.5";
src = fetchurl {
url = "mirror://sourceforge/gtk-server/${name}-sr.tar.gz";
sha256 = "0z8ng5rhxc7fpsj3d50h25wkgcnxjfy030jm8r9w9m729w2c9hxb";
url = "https://www.gtk-server.org/stable/gtk-server-${version}.tar.gz";
sha256 = "0vlx5ibvc7hyc8yipjgvrx1azvmh42i9fv1khg3dvn09nrdkrc7f";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libffcall gtk2 ];
preConfigure = ''
cd src
'';
configureOptions = [ "--with-gtk2" ];
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ libffcall glib gtk3 ];
NIX_LDFLAGS = [
"-ldl"
];
configureOptions = [ "--with-gtk3" ];
meta = {
meta = with stdenv.lib; {
description = "gtk-server for interpreted GUI programming";
homepage = http://www.gtk-server.org/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [stdenv.lib.maintainers.tohl];
platforms = stdenv.lib.platforms.linux;
homepage = "http://www.gtk-server.org/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.tohl ];
platforms = platforms.linux;
};
}