1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/ocaml-modules/metrics/default.nix

28 lines
649 B
Nix
Raw Normal View History

2019-11-27 18:34:09 +00:00
{ 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 ];
};
}