Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 25 lines 603 B view raw
1{stdenv, fetchurl, ocaml, findlib, camlp4}: 2 3stdenv.mkDerivation { 4 name = "ocaml-optcomp-1.6"; 5 src = fetchurl { 6 url = https://github.com/diml/optcomp/archive/1.6.tar.gz; 7 md5 = "d3587244dba1b8b10f24d0b60a8c700d"; 8 }; 9 10 createFindlibDestdir = true; 11 12 buildInputs = [ocaml findlib camlp4]; 13 14 15 meta = { 16 homepage = https://github.com/diml/optcomp; 17 description = "Optional compilation for OCaml with cpp-like directives"; 18 license = stdenv.lib.licenses.bsd3; 19 platforms = ocaml.meta.platforms or []; 20 maintainers = [ 21 stdenv.lib.maintainers.gal_bolle 22 ]; 23 }; 24 25}