Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 menhir, 6 menhirLib, 7 ppx_deriving_yojson, 8 visitors, 9 yojson, 10}: 11 12buildDunePackage rec { 13 pname = "morbig"; 14 version = "0.11.0"; 15 16 src = fetchFromGitHub { 17 owner = "colis-anr"; 18 repo = pname; 19 rev = "v${version}"; 20 sha256 = "sha256-fOBaJHHP/Imi9UDLflI52OdKDcmMxpl+NH3pfofmv/o="; 21 }; 22 23 duneVersion = "3"; 24 25 nativeBuildInputs = [ 26 menhir 27 ]; 28 29 propagatedBuildInputs = [ 30 menhirLib 31 ppx_deriving_yojson 32 visitors 33 yojson 34 ]; 35 36 meta = with lib; { 37 homepage = "https://github.com/colis-anr/${pname}"; 38 description = "Static parser for POSIX Shell"; 39 license = licenses.gpl3Plus; 40 maintainers = with maintainers; [ niols ]; 41 }; 42}