2022-10-23 05:22:31 +01: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";
|
2023-03-27 05:31:27 +01:00
|
|
|
version = "2.4.6";
|
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";
|
2023-03-27 05:31:27 +01:00
|
|
|
sha256 = "sha256-sFL3y068oXDKgkEUcNnGVsNSPBdI1NzpsqdYJfmOQoA=";
|
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; {
|
2019-12-14 09:22:20 +00:00
|
|
|
homepage = "http://www.gtk-server.org/";
|
2022-10-23 05:22:31 +01:00
|
|
|
description = "gtk-server for interpreted GUI programming";
|
2019-12-14 09:22:20 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2022-10-23 05:22:31 +01:00
|
|
|
maintainers = [ ];
|
2019-12-14 09:22:20 +00:00
|
|
|
platforms = platforms.linux;
|
2015-10-02 23:45:30 +01:00
|
|
|
};
|
|
|
|
}
|