2023-04-29 16:46:19 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
|
|
|
, menhir, menhirLib, ppx_deriving_yojson, visitors, yojson
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "morbig";
|
|
|
|
version = "0.11.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "colis-anr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-fOBaJHHP/Imi9UDLflI52OdKDcmMxpl+NH3pfofmv/o=";
|
|
|
|
};
|
|
|
|
|
|
|
|
duneVersion = "3";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
menhir
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
menhirLib
|
|
|
|
ppx_deriving_yojson
|
|
|
|
visitors
|
|
|
|
yojson
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/colis-anr/${pname}";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Static parser for POSIX Shell";
|
2023-04-29 16:46:19 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ niols ];
|
|
|
|
};
|
|
|
|
}
|