ma pkgs.hydra-check: init

This commit is contained in:
makefu 2020-03-13 10:34:29 +01:00
parent 5a17797ba9
commit ff29e9067a
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 33 additions and 0 deletions

View 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 )
]

View 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 ];
}