2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, ppx_tools_versioned, ounit }:
|
2016-07-19 08:04:32 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bitstring";
|
2018-05-13 15:28:22 +00:00
|
|
|
version = "3.0.0";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2018-05-13 15:28:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xguerin";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-05-13 15:28:22 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0r49qax7as48jgknzaq6p9rbpmrvnmlic713wzz5bj60j5h0396f";
|
2016-07-19 08:04:32 +00:00
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ppx_tools_versioned ounit ];
|
2018-05-13 15:28:22 +00:00
|
|
|
doCheck = true;
|
2016-07-19 08:04:32 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml";
|
2017-10-26 23:44:19 +00:00
|
|
|
homepage = https://github.com/xguerin/bitstring;
|
2016-07-19 08:04:32 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|