567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
663 B
Nix
30 lines
663 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 = {
|
|
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 = lib.licenses.lgpl21Plus;
|
|
maintainers = [ lib.maintainers.maurer ];
|
|
};
|
|
}
|