mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
28 lines
649 B
Nix
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 ];
|
|
};
|
|
|
|
}
|