Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 35 lines 714 B view raw
1{ lib, buildDunePackage, fetchFromGitHub 2, menhir, menhirLib, ppx_deriving_yojson, visitors, yojson 3}: 4 5buildDunePackage rec { 6 pname = "morbig"; 7 version = "0.11.0"; 8 9 src = fetchFromGitHub { 10 owner = "colis-anr"; 11 repo = pname; 12 rev = "v${version}"; 13 sha256 = "sha256-fOBaJHHP/Imi9UDLflI52OdKDcmMxpl+NH3pfofmv/o="; 14 }; 15 16 duneVersion = "3"; 17 18 nativeBuildInputs = [ 19 menhir 20 ]; 21 22 propagatedBuildInputs = [ 23 menhirLib 24 ppx_deriving_yojson 25 visitors 26 yojson 27 ]; 28 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 }; 35}