diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-01-13 11:17:25 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-01-13 14:17:56 +0100 |
commit | b094768e99782162f6f3c2554a0f983d738f0539 (patch) | |
tree | 0a1ed0c97c638c168283d2d98ffa45be1301f1a9 /pkgs/development/ocaml-modules | |
parent | 01cf6fa04d22b1826166382ac14df0c5a1fd9841 (diff) | |
download | nixlib-b094768e99782162f6f3c2554a0f983d738f0539.tar nixlib-b094768e99782162f6f3c2554a0f983d738f0539.tar.gz nixlib-b094768e99782162f6f3c2554a0f983d738f0539.tar.bz2 nixlib-b094768e99782162f6f3c2554a0f983d738f0539.tar.lz nixlib-b094768e99782162f6f3c2554a0f983d738f0539.tar.xz nixlib-b094768e99782162f6f3c2554a0f983d738f0539.tar.zst nixlib-b094768e99782162f6f3c2554a0f983d738f0539.zip |
Adds ocaml-gtktop
Gtktop is a small OCaml library to ease the creation of graphical toplevels. Homepage: http://zoggy.github.io/gtktop/
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/gtktop/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/gtktop/default.nix b/pkgs/development/ocaml-modules/gtktop/default.nix new file mode 100644 index 000000000000..ca0687882879 --- /dev/null +++ b/pkgs/development/ocaml-modules/gtktop/default.nix @@ -0,0 +1,25 @@ +{ 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; + }; +} |