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 ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue