depot/pkgs/development/ocaml-modules/morbig/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

35 lines
712 B
Nix

{ 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}";
description = "Static parser for POSIX Shell";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ niols ];
};
}