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