ocamlPackages.metrics: 0.4.0 → 0.4.1
This commit is contained in:
parent
7f311dd922
commit
543e633c8f
@ -2,14 +2,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "metrics";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
|
||||
sha256 = "sha256-kbh1WktQkDcXE8O1WRm+vtagVfSql8S5gr0bXn/jia8=";
|
||||
sha256 = "sha256-d+DCD7XB0GED27DsC8YEW+48YcAK0EI8l4Uqx/PGFE0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fmt ];
|
||||
|
@ -6,13 +6,6 @@ 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"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ gnuplot lwt metrics mtime uuidm ];
|
||||
|
||||
nativeCheckInputs = [ gnuplot ];
|
||||
|
Loading…
Reference in New Issue
Block a user