ma pkgs.hydra-check: init
This commit is contained in:
parent
5a17797ba9
commit
ff29e9067a
12
makefu/2configs/bureautomation/camera/stuttgart.nix
Normal file
12
makefu/2configs/bureautomation/camera/stuttgart.nix
Normal file
@ -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 )
|
||||
]
|
21
makefu/5pkgs/hydra-check/default.nix
Normal file
21
makefu/5pkgs/hydra-check/default.nix
Normal file
@ -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 ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user