at v206 805 B view raw
1{stdenv, fetchgit, buildOcaml, time, autoconf, automake}: 2 3buildOcaml rec { 4 name = "bitstring"; 5 version = "f1673f8"; 6 src = fetchgit { 7 url = "https://code.google.com/p/bitstring/"; 8 rev = "f1673f8"; 9 sha256 = "1lh97qf1b7mq64pxkphr2w91ri5hfwg58cpjb2xd8a453c9jylw4"; 10 }; 11 12 patches = [ ./camlp4-git.patch ./meta.patch ./srcdir.patch ]; 13 14 buildInputs = [time autoconf automake]; 15 doCheck = true; 16 17 createFindlibDestdir = true; 18 hasSharedObjects = true; 19 20 preConfigure = "./bootstrap"; 21 22 meta = with stdenv.lib; { 23 description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml"; 24 homepage = http://code.google.com/p/bitstring/; 25 license = licenses.lgpl21Plus; 26 maintainers = [ maintainers.maurer ]; 27 }; 28}