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