Commit 9fd7bd51 authored by redianthus's avatar redianthus Committed by zapashcanon
Browse files

ocamlPackages.ocb: init at 0.2

parent aaf821b4
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
}:

buildDunePackage (finalAttrs: {
  pname = "ocb";
  version = "0.2";

  src = fetchFromGitHub {
    owner = "ocamlpro";
    repo = "ocb";
    tag = finalAttrs.version;
    hash = "sha256-LbAeeaPsOGd1w0I5YFrgRyFKKwIkYjMaRo2G1JUEado=";
  };

  meta = {
    homepage = "https://github.com/ocamlpro/ocb";
    description = "OCaml library for SVG badge generation";
    changelog = "https://raw.githubusercontent.com/ocamlpro/ocb/${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ redianthus ];
    mainProgram = "ocb";
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -1491,6 +1491,8 @@ let

        ocamlscript = callPackage ../development/tools/ocaml/ocamlscript { };

        ocb = callPackage ../development/ocaml-modules/ocb { };

        ocb-stubblr = callPackage ../development/ocaml-modules/ocb-stubblr { };

        ocf = callPackage ../development/ocaml-modules/ocf { };