summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-03-13 10:34:29 +0100
committermakefu <github@syntax-fehler.de>2020-03-13 10:34:29 +0100
commitff29e9067a7f014c690fd2878f3e26425554a8cb (patch)
tree5190d8199ee742d27e2fd66999bf860285013bfd /makefu
parent5a17797ba942c1615ad83d1b085d2af2120c4fdd (diff)
ma pkgs.hydra-check: init
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/bureautomation/camera/stuttgart.nix12
-rw-r--r--makefu/5pkgs/hydra-check/default.nix21
2 files changed, 33 insertions, 0 deletions
diff --git a/makefu/2configs/bureautomation/camera/stuttgart.nix b/makefu/2configs/bureautomation/camera/stuttgart.nix
new file mode 100644
index 00000000..99eecd5d
--- /dev/null
+++ b/makefu/2configs/bureautomation/camera/stuttgart.nix
@@ -0,0 +1,12 @@
+
+let
+ cam = name: still_image_url:
+ {
+ inherit name still_image_url;
+ platform = "generic";
+ };
+in [
+ ( cam "Max-Eyth-See" https://www.wav-stuttgart.de/webcam/_/webcam1.jpg )
+ ( cam "Wilhelma" http://webcam.wilhelma.de/webcam02/webcam02.jpg )
+ ( cam "Wilhelma" http://webcam.wilhelma.de/webcam02/webcam02.jpg )
+]
diff --git a/makefu/5pkgs/hydra-check/default.nix b/makefu/5pkgs/hydra-check/default.nix
new file mode 100644
index 00000000..b9930b4f
--- /dev/null
+++ b/makefu/5pkgs/hydra-check/default.nix
@@ -0,0 +1,21 @@
+{ python3Packages, fetchFromGitHub }:
+
+with python3Packages;
+buildPythonPackage rec {
+ name = "hydra-check";
+ version = "1.0.0";
+
+ src = fetchFromGitHub {
+ owner = "makefu";
+ repo = "hydra-check";
+ rev = version;
+ sha256 = "0359s9rvl2q23a3yddhbn6w2sd5r1f1jl6whyik7qql7blpcvyi7";
+ };
+ propagatedBuildInputs = [
+ docopt
+ requests
+ beautifulsoup4
+ ];
+
+ checkInputs = [ black jq ];
+}