2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libffcall
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtk-server";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "2.4.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.gtk-server.org/stable/gtk-server-${version}.tar.gz";
|
2023-03-30 22:05:00 +00:00
|
|
|
sha256 = "sha256-sFL3y068oXDKgkEUcNnGVsNSPBdI1NzpsqdYJfmOQoA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libffcall glib gtk3 ];
|
|
|
|
|
|
|
|
configureOptions = [ "--with-gtk3" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.gtk-server.org/";
|
2022-10-30 15:09:59 +00:00
|
|
|
description = "gtk-server for interpreted GUI programming";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2022-10-30 15:09:59 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|