nixpkgs/pkgs/development/interpreters/gtk-server/default.nix
2019-01-04 21:44:19 +00:00

29 lines
690 B
Nix

{ stdenv, fetchurl, libffcall, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
v = "2.3.1";
name = "gtk-server-${v}";
src = fetchurl {
url = "mirror://sourceforge/gtk-server/${name}-sr.tar.gz";
sha256 = "0z8ng5rhxc7fpsj3d50h25wkgcnxjfy030jm8r9w9m729w2c9hxb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libffcall gtk2 ];
configureOptions = [ "--with-gtk2" ];
NIX_LDFLAGS = [
"-ldl"
];
meta = {
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;
};
}