2021-01-23 13:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2019-12-14 09:22:20 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libffcall
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-12-14 09:22:20 +00:00
|
|
|
, 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
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2019-12-14 09:22:20 +00:00
|
|
|
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
|
|
|
|
2021-01-23 13:15:07 +00:00
|
|
|
meta = with 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
|
|
|
};
|
|
|
|
}
|