ocamlPackages.dolog: 3.0 → 6.0.0

This commit is contained in:
Vincent Laporte 2023-07-17 06:55:34 +02:00 committed by Vincent Laporte
parent e9c32421d3
commit 29e6553d1f

View File

@ -1,29 +1,19 @@
{ 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 ];
};