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>
36 lines
718 B
Nix
36 lines
718 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
earley,
|
|
timed,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "bindlib";
|
|
version = "6.0.0";
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rlepigre";
|
|
repo = "ocaml-${pname}";
|
|
rev = version;
|
|
hash = "sha256-058yMbz9ExvgNG/kY9tPk70XSeVRSSKVg4n4F4fmPu4=";
|
|
};
|
|
|
|
checkInputs = [
|
|
earley
|
|
timed
|
|
];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://rlepigre.github.io/ocaml-bindlib";
|
|
description = "Efficient binder representation in Ocaml";
|
|
license = lib.licenses.gpl3;
|
|
changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${version}/CHANGELOG.md";
|
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
|
};
|
|
}
|