depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bitstring/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

24 lines
657 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, stdlib-shims }:
buildDunePackage rec {
pname = "bitstring";
version = "4.1.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "xguerin";
repo = pname;
rev = "v${version}";
sha256 = "0mghsl8b2zd2676mh1r9142hymhvzy9cw8kgkjmirxkn56wbf56b";
};
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 ];
};
}