summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 000000000..99eecd5d9
--- /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 000000000..b9930b4f4
--- /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 ];
+}