2021-01-03 01:14:22 -08:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, stdlib-shims }:
|
2016-07-19 01:04:32 -07:00
|
|
|
|
2018-11-05 02:21:46 -08:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bitstring";
|
2021-03-14 13:06:38 -07:00
|
|
|
version = "4.1.0";
|
2021-01-03 01:14:22 -08:00
|
|
|
|
|
|
|
useDune2 = true;
|
2018-11-05 02:21:46 -08:00
|
|
|
|
2018-05-13 08:28:22 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xguerin";
|
2018-11-05 02:21:46 -08:00
|
|
|
repo = pname;
|
2018-05-13 08:28:22 -07:00
|
|
|
rev = "v${version}";
|
2021-03-14 13:06:38 -07:00
|
|
|
sha256 = "0mghsl8b2zd2676mh1r9142hymhvzy9cw8kgkjmirxkn56wbf56b";
|
2016-07-19 01:04:32 -07:00
|
|
|
};
|
|
|
|
|
2021-01-03 01:14:22 -08:00
|
|
|
propagatedBuildInputs = [ stdlib-shims ];
|
2016-07-19 01:04:32 -07:00
|
|
|
|
2021-01-03 01:14:22 -08:00
|
|
|
meta = with lib; {
|
2016-07-19 01:04:32 -07:00
|
|
|
description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/xguerin/bitstring";
|
2016-07-19 01:04:32 -07:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|