depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bitstring/default.nix
Default email 2969ca571a Project import generated by Copybara.
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
2021-01-09 11:05:03 +01:00

24 lines
655 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, stdlib-shims }:
buildDunePackage rec {
pname = "bitstring";
version = "4.0.1";
useDune2 = true;
src = fetchFromGitHub {
owner = "xguerin";
repo = pname;
rev = "v${version}";
sha256 = "1z7jmgljvp52lvn3ml2cp6gssxqp4sikwyjf6ym97cycbcw0fjjm";
};
propagatedBuildInputs = [ stdlib-shims ];
meta = with 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 ];
};
}