nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchurl,
5 ocaml,
6 findlib,
7 camlp4,
8 config-file,
9 lablgtk,
10 xmlm,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "ocaml-lablgtk-extras";
15 version = "1.4";
16
17 src = fetchurl {
18 url = "http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-${version}.tar.gz";
19 sha256 = "09fqxwdib7r9yxynknc9gv3jw2hnhj5cak7q5jngk6m8rzvmhfcc";
20 };
21
22 strictDeps = true;
23
24 nativeBuildInputs = [
25 ocaml
26 findlib
27 camlp4
28 ];
29 propagatedBuildInputs = [
30 config-file
31 lablgtk
32 xmlm
33 ];
34
35 createFindlibDestdir = true;
36
37 meta = {
38 platforms = ocaml.meta.platforms or [ ];
39 maintainers = with lib.maintainers; [ vbgl ];
40 homepage = "http://gtk-extras.forge.ocamlcore.org/";
41 description = "Collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
42 license = lib.licenses.lgpl2Plus;
43 branch = "1.4";
44 };
45}