2015-06-10 17:05:23 +01:00
|
|
|
{stdenv, fetchgit, buildOcaml, time, autoconf, automake}:
|
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "bitstring";
|
|
|
|
version = "f1673f8";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://code.google.com/p/bitstring/";
|
|
|
|
rev = "f1673f8";
|
|
|
|
sha256 = "1lh97qf1b7mq64pxkphr2w91ri5hfwg58cpjb2xd8a453c9jylw4";
|
|
|
|
};
|
|
|
|
|
2015-09-01 05:43:37 +01:00
|
|
|
patches = [ ./camlp4-git.patch ./meta.patch ./srcdir.patch ];
|
2015-06-10 17:05:23 +01:00
|
|
|
|
|
|
|
buildInputs = [time autoconf automake];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
hasSharedObjects = true;
|
|
|
|
|
2015-06-28 22:09:24 +01:00
|
|
|
preConfigure = "./bootstrap";
|
2015-06-10 17:05:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-06-29 15:20:58 +01:00
|
|
|
description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml";
|
2015-06-10 17:05:23 +01:00
|
|
|
homepage = http://code.google.com/p/bitstring/;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|