summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/optcomp/default.nix
blob: 6075bc4ab2aa3b9bd7c3bb9cbb07f6b00493911d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, fetchurl, ocaml, findlib}:

stdenv.mkDerivation {
  name = "ocaml-optcomp";
  src = fetchurl {
    url = https://github.com/diml/optcomp/archive/1.6.tar.gz;
    md5 = "d3587244dba1b8b10f24d0b60a8c700d";
    };
  
  createFindlibDestdir = true;

  buildInputs = [ocaml findlib];


  meta =  {
    homepage = https://github.com/diml/optcomp;
    description = "Optional compilation for OCaml with cpp-like directives";
    license = "BSD";
    platforms = ocaml.meta.platforms;
    maintainers = [
      stdenv.lib.maintainers.gal_bolle
    ];
  };

}