Files

39 lines
770 B
Nix

{
lib,
mkRocqDerivation,
stdlib,
rocq-core,
version ? null,
}:
mkRocqDerivation {
pname = "parseque";
repo = "parseque";
owner = "rocq-community";
inherit version;
defaultVersion =
lib.switch
[ rocq-core.rocq-version ]
[
{
cases = [ (lib.versions.range "9.0" "9.2") ];
out = "0.3.1";
}
]
null;
release."0.3.0".sha256 = "sha256-W2eenv5Q421eVn2ubbninFmmdT875f3w/Zs7yGHUKP4=";
release."0.3.1".sha256 = "sha256-t7nHpHl6E3iXkhMO0A53URmKVpWENjf/VODVXjD9Y1A=";
propagatedBuildInputs = [ stdlib ];
releaseRev = v: "v${v}";
meta = {
description = "Total parser combinators in Rocq";
maintainers = with lib.maintainers; [ womeier ];
license = lib.licenses.mit;
};
}