1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/development/ocaml-modules/gtktop/default.nix
Vincent Laporte b094768e99 Adds ocaml-gtktop
Gtktop is a small OCaml library to ease the creation of graphical
toplevels.

Homepage: http://zoggy.github.io/gtktop/
2015-01-13 14:17:56 +01:00

26 lines
705 B
Nix

{ stdenv, fetchurl, ocaml, camlp4, findlib, lablgtk-extras }:
let pname = "gtktop-2.0"; in
stdenv.mkDerivation {
name = "ocaml-${pname}";
src = fetchurl {
url = "http://zoggy.github.io/gtktop/${pname}.tar.gz";
sha256 = "0cpmnavvham9mwxknm6df90g9qxabcvn2kfwlf9mncqa0z3rknz6";
};
buildInputs = [ ocaml camlp4 findlib ];
propagatedBuildInputs = [ lablgtk-extras ];
createFindlibDestdir = true;
meta = {
homepage = http://zoggy.github.io/gtktop/;
description = "A small OCaml library to ease the creation of graphical toplevels";
license = stdenv.lib.licenses.lgpl3;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
platforms = ocaml.meta.platforms;
};
}