summary refs log tree commit diff
path: root/pkgs/development/libraries/lablgtk/default.nix
blob: 12728717e82cf0385b55bf48eed8efe4053b2e57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{stdenv, fetchurl, ocaml, pkgconfig, gtk}:

stdenv.mkDerivation {
  name = "lablgtk-2.6.0";
  src = fetchurl {
    url = http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.6.0.tar.gz;
    sha256 = "3694bc1e288ce0903af6c96a2790d2340ba38fa51b18090062ede75137d97876";
  };

  buildInputs = [ocaml pkgconfig gtk];

  configureFlags = "--with-libdir=$(out)/lib/ocaml";
  buildFlags = "world";
}