nixpkgs/pkgs/development/ocaml-modules/bitstring/default.nix
2023-07-12 15:11:42 +00:00

25 lines
656 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, stdlib-shims }:
buildDunePackage rec {
pname = "bitstring";
version = "4.1.1";
duneVersion = "3";
src = fetchFromGitHub {
owner = "xguerin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-eO7/S9PoMybZPnQQ+q9qbqKpYO4Foc9OjW4uiwwNds8=";
};
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 ];
};
}