mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
ocamlPackages.metrics: init at 0.1.0
This commit is contained in:
parent
d674a64c85
commit
5d0dd4e536
27
pkgs/development/ocaml-modules/metrics/default.nix
Normal file
27
pkgs/development/ocaml-modules/metrics/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -464,6 +464,8 @@ let
|
||||
|
||||
merlin-extend = callPackage ../development/ocaml-modules/merlin-extend { };
|
||||
|
||||
metrics = callPackage ../development/ocaml-modules/metrics { };
|
||||
|
||||
mezzo = callPackage ../development/compilers/mezzo { };
|
||||
|
||||
minisat = callPackage ../development/ocaml-modules/minisat { };
|
||||
|
Loading…
Reference in New Issue
Block a user