3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/gtk-server/default.nix

35 lines
741 B
Nix
Raw Normal View History

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