1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/metrics/default.nix
2019-12-04 15:37:36 +00:00

28 lines
649 B
Nix

{ lib, fetchurl, buildDunePackage, alcotest, fmt }:
buildDunePackage rec {
pname = "metrics";
version = "0.1.0";
minimumOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/metrics/releases/download/${version}/metrics-${version}.tbz";
sha256 = "0jy88anrx3rh19046rrbrjmx922zvz3wlqkk8asilqv9pbvpnp1a";
};
propagatedBuildInputs = [ fmt ];
checkInputs = lib.optional doCheck alcotest;
doCheck = true;
meta = {
description = "Metrics infrastructure for OCaml";
homepage = "https://github.com/mirage/metrics";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}