Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / morbig / default.nix
blob013fa2e233a1b8bb101bd65eaa1b5338fba03cc7
1 { lib, buildDunePackage, fetchFromGitHub
2 , menhir, menhirLib, ppx_deriving_yojson, visitors, yojson
3 }:
5 buildDunePackage rec {
6   pname = "morbig";
7   version = "0.11.0";
9   src = fetchFromGitHub {
10     owner = "colis-anr";
11     repo = pname;
12     rev = "v${version}";
13     sha256 = "sha256-fOBaJHHP/Imi9UDLflI52OdKDcmMxpl+NH3pfofmv/o=";
14   };
16   duneVersion = "3";
18   nativeBuildInputs = [
19     menhir
20   ];
22   propagatedBuildInputs = [
23     menhirLib
24     ppx_deriving_yojson
25     visitors
26     yojson
27   ];
29   meta = with lib; {
30     homepage = "https://github.com/colis-anr/${pname}";
31     description = "A static parser for POSIX Shell";
32     license = licenses.gpl3Plus;
33     maintainers = with maintainers; [ niols ];
34   };