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
27
pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix
Normal file
27
pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fritzbox-exporter";
|
||||
version = "unstable-2021-04-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "fd36539bd7db191b3734e17934b5f1e78e4e9829";
|
||||
owner = "mxschmitt";
|
||||
repo = "fritzbox_exporter";
|
||||
sha256 = "0w9gdcnfc61q6mzm95i7kphsf1rngn8rb6kz1b6knrh5d8w61p1n";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/exporter" ];
|
||||
|
||||
vendorSha256 = "0k6bd052pjfg5c1ba1yhni8msv3wl512vfzy2hrk49jibh8h052n";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) fritzbox; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus Exporter for FRITZ!Box (TR64 and UPnP)";
|
||||
homepage = "https://github.com/mxschmitt/fritzbox_exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bachp flokli sbruder ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue