depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bitstring/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
680 B
Nix

{ stdenv, fetchFromGitHub, buildDunePackage, ppx_tools_versioned, ounit }:
buildDunePackage rec {
pname = "bitstring";
version = "3.0.0";
src = fetchFromGitHub {
owner = "xguerin";
repo = pname;
rev = "v${version}";
sha256 = "0r49qax7as48jgknzaq6p9rbpmrvnmlic713wzz5bj60j5h0396f";
};
buildInputs = [ ppx_tools_versioned ounit ];
doCheck = true;
meta = with stdenv.lib; {
description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml";
homepage = "https://github.com/xguerin/bitstring";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.maurer ];
};
}