ocamlPackages.metrics: use Dune 3
This commit is contained in:
parent
2ac2434fe0
commit
8971fdbc3c
5 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
version = "0.4.0";
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
|
||||
|
|
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
|||
pname = "metrics-influx";
|
||||
inherit (metrics) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ duration fmt lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage {
|
|||
|
||||
inherit (metrics) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ logs lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
|
|
|
@ -7,6 +7,7 @@ buildDunePackage {
|
|||
inherit (metrics) src version;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ fmt logs metrics ];
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
|||
|
||||
inherit (metrics) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
# Fixes https://github.com/mirage/metrics/issues/57
|
||||
postPatch = ''
|
||||
substituteInPlace src/unix/dune --replace "mtime mtime.clock" "mtime"
|
||||
|
|
Loading…
Reference in a new issue