mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
25 lines
656 B
Nix
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 ];
|
|
};
|
|
}
|