move shack prometheus from wolf to puyak

This commit is contained in:
makefu 2019-10-13 02:30:57 +02:00
parent 8a5837f86c
commit bce0555f05
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
3 changed files with 4 additions and 42 deletions

View File

@ -14,6 +14,8 @@
<stockholm/krebs/2configs/news.nix>
<stockholm/krebs/2configs/news-spam.nix>
<stockholm/krebs/2configs/shack/prometheus/node.nix>
<stockholm/krebs/2configs/shack/prometheus/server.nix>
<stockholm/krebs/2configs/shack/prometheus/unifi.nix>
<stockholm/krebs/2configs/shack/gitlab-runner.nix>
## Collect local statistics via collectd and send to collectd

View File

@ -62,9 +62,9 @@ in
<stockholm/krebs/2configs/shack/netbox.nix>
# prometheus.shack
<stockholm/krebs/2configs/shack/prometheus/server.nix>
#<stockholm/krebs/2configs/shack/prometheus/server.nix>
<stockholm/krebs/2configs/shack/prometheus/node.nix>
<stockholm/krebs/2configs/shack/prometheus/unifi.nix>
#<stockholm/krebs/2configs/shack/prometheus/unifi.nix>
# grafana.shack
<stockholm/krebs/2configs/shack/grafana.nix>

View File

@ -1,40 +0,0 @@
{ lib, pkgs, python2Packages, ... }:
# requires libusb1 from unstable
with python2Packages; let
python-adb = buildPythonPackage rec {
pname = "adb";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0v4my47ikgkbq04gdllpx6kql5cfh7dnpq2fk72x03z74mqri7v8";
};
propagatedBuildInputs = [ libusb1 m2crypto ];
meta = {
homepage = https://github.com/google/python-adb;
description = "Python ADB + Fastboot implementation";
license = lib.licenses.asl20;
};
};
in
buildPythonPackage rec {
name = "python-firetv-${version}";
version = "1.0.5";
src = pkgs.fetchFromGitHub {
owner = "happyleavesaoc";
repo = "python-firetv";
# rev = version;
rev = "55406c6";
sha256 = "1r2yighilchs0jvcvbngkjxkk7gp588ikcl64x7afqzxc6zxv7wp";
};
propagatedBuildInputs = [ python-adb flask pyyaml ];
meta = {
homepage = https://github.com/happyleavesaoc/python-firetv;
description = "provides state informations and some control of an amazon firetv";
license = lib.licenses.mit;
};
}