uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/development/ocaml-modules/metrics/default.nix
Normal file
29
pkgs/development/ocaml-modules/metrics/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchurl, buildDunePackage, alcotest, fmt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "metrics";
|
||||
version = "0.2.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/metrics/releases/download/${version}/metrics-${version}.tbz";
|
||||
sha256 = "0j215cji3n78lghzi9m6kgr3r1s91v681hfnn7cgybb31d7gjkqg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fmt ];
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Metrics infrastructure for OCaml";
|
||||
homepage = "https://github.com/mirage/metrics";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
||||
14
pkgs/development/ocaml-modules/metrics/influx.nix
Normal file
14
pkgs/development/ocaml-modules/metrics/influx.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ buildDunePackage, metrics
|
||||
, astring, duration, fmt, lwt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "metrics-influx";
|
||||
inherit (metrics) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ astring duration fmt lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
description = "Influx reporter for the Metrics library";
|
||||
};
|
||||
}
|
||||
14
pkgs/development/ocaml-modules/metrics/lwt.nix
Normal file
14
pkgs/development/ocaml-modules/metrics/lwt.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ buildDunePackage, logs, ocaml_lwt, metrics }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "metrics-lwt";
|
||||
|
||||
inherit (metrics) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ logs ocaml_lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
description = "Lwt backend for the Metrics library";
|
||||
};
|
||||
|
||||
}
|
||||
14
pkgs/development/ocaml-modules/metrics/mirage.nix
Normal file
14
pkgs/development/ocaml-modules/metrics/mirage.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ buildDunePackage, metrics, metrics-influx
|
||||
, cstruct, ipaddr, logs, lwt, mirage-clock, mirage-stack
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "metrics-mirage";
|
||||
inherit (metrics) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ cstruct ipaddr logs lwt metrics metrics-influx mirage-clock mirage-stack ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
description = "Mirage backend for the Metrics library";
|
||||
};
|
||||
}
|
||||
19
pkgs/development/ocaml-modules/metrics/unix.nix
Normal file
19
pkgs/development/ocaml-modules/metrics/unix.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ buildDunePackage, gnuplot, ocaml_lwt, metrics, metrics-lwt, mtime, uuidm }:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "metrics-unix";
|
||||
|
||||
inherit (metrics) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ gnuplot ocaml_lwt metrics mtime uuidm ];
|
||||
|
||||
checkInputs = [ metrics-lwt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = metrics.meta // {
|
||||
description = "Unix backend for the Metrics library";
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue