at 17.09-beta 25 lines 711 B view raw
1{ stdenv, fetchurl, ocaml, camlp4, findlib, lablgtk-extras }: 2 3let pname = "gtktop-2.0"; in 4 5stdenv.mkDerivation { 6 name = "ocaml-${pname}"; 7 8 src = fetchurl { 9 url = "http://zoggy.github.io/gtktop/${pname}.tar.gz"; 10 sha256 = "0cpmnavvham9mwxknm6df90g9qxabcvn2kfwlf9mncqa0z3rknz6"; 11 }; 12 13 buildInputs = [ ocaml camlp4 findlib ]; 14 propagatedBuildInputs = [ lablgtk-extras ]; 15 16 createFindlibDestdir = true; 17 18 meta = { 19 homepage = http://zoggy.github.io/gtktop/; 20 description = "A small OCaml library to ease the creation of graphical toplevels"; 21 license = stdenv.lib.licenses.lgpl3; 22 maintainers = with stdenv.lib.maintainers; [ vbgl ]; 23 platforms = ocaml.meta.platforms or []; 24 }; 25}