Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 616 B view raw
1{ lib, fetchFromGitHub, buildDunePackage 2, stdlib-shims 3}: 4 5buildDunePackage rec { 6 pname = "ocaml-protoc"; 7 version = "2.0.2"; 8 9 useDune2 = true; 10 11 minimumOCamlVersion = "4.02"; 12 13 src = fetchFromGitHub { 14 owner = "mransan"; 15 repo = "ocaml-protoc"; 16 rev = version; 17 sha256 = "1vlnjqqpypmjhlyrxfzla79y4ilmc9ggz311giy6vmh4cyzl29h3"; 18 }; 19 20 buildInputs = [ stdlib-shims ]; 21 22 doCheck = true; 23 24 meta = with lib; { 25 homepage = "https://github.com/mransan/ocaml-protoc"; 26 description = "A Protobuf Compiler for OCaml"; 27 license = licenses.mit; 28 maintainers = [ maintainers.vyorkin ]; 29 }; 30}