mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
29 lines
690 B
Nix
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;
|
|
};
|
|
}
|