Commit 29e6553d authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.dolog: 3.0 → 6.0.0

parent e9c32421
Loading
Loading
Loading
Loading
+6 −16
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
{ lib, buildDunePackage, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "ocaml-dolog";
  version = "3.0";
buildDunePackage rec {
  pname = "dolog";
  version = "6.0.0";

  src = fetchFromGitHub {
    owner = "UnixJunkie";
    repo = "dolog";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-6wfqT5sqo4YA8XoHH3QhG6/TyzzXCzqjmnPuBArRoj8=";
    hash = "sha256-g68260mcb4G4wX8y4T0MTaXsYnM9wn2d0V1VCdSFZjY=";
  };

  nativeBuildInputs = [ ocaml findlib ocamlbuild ];

  strictDeps = true;

  createFindlibDestdir = true;

  doCheck = true;
  checkTarget = "test";

  meta = {
    homepage = "https://github.com/UnixJunkie/dolog";
    description = "Minimalistic lazy logger in OCaml";
    platforms = ocaml.meta.platforms or [ ];
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ vbgl ];
  };