tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.metrics: 0.4.0 → 0.4.1
Vincent Laporte
2 years ago
543e633c
7f311dd9
+2
-10
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
metrics
default.nix
unix.nix
+2
-3
pkgs/development/ocaml-modules/metrics/default.nix
···
2
2
3
3
buildDunePackage rec {
4
4
pname = "metrics";
5
5
-
version = "0.4.0";
5
5
+
version = "0.4.1";
6
6
7
7
minimalOCamlVersion = "4.04";
8
8
-
duneVersion = "3";
9
8
10
9
src = fetchurl {
11
10
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
12
12
-
sha256 = "sha256-kbh1WktQkDcXE8O1WRm+vtagVfSql8S5gr0bXn/jia8=";
11
11
+
sha256 = "sha256-d+DCD7XB0GED27DsC8YEW+48YcAK0EI8l4Uqx/PGFE0=";
13
12
};
14
13
15
14
propagatedBuildInputs = [ fmt ];
-7
pkgs/development/ocaml-modules/metrics/unix.nix
···
6
6
7
7
inherit (metrics) version src;
8
8
9
9
-
duneVersion = "3";
10
10
-
11
11
-
# Fixes https://github.com/mirage/metrics/issues/57
12
12
-
postPatch = ''
13
13
-
substituteInPlace src/unix/dune --replace "mtime mtime.clock" "mtime"
14
14
-
'';
15
15
-
16
9
propagatedBuildInputs = [ gnuplot lwt metrics mtime uuidm ];
17
10
18
11
nativeCheckInputs = [ gnuplot ];