ma pkgs.chitubox: use archive.org link
This commit is contained in:
parent
43654edcc3
commit
cd08cd0ce2
@ -20,7 +20,7 @@ let
|
|||||||
{
|
{
|
||||||
service = "notify.signal_home";
|
service = "notify.signal_home";
|
||||||
data = {
|
data = {
|
||||||
message= "${name} seit ${toString min} Minuten offen\nBitte einmal checken ob das ok ist :)";
|
message_template = "${name} seit ${toString min} Minuten offen und draussen ist es gerade {{states.sensor.dark_sky_temperature.state}}°C bei {{states.sensor.dark_sky_humidity.state}}% Luftfeuchte";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ let
|
|||||||
};
|
};
|
||||||
notify_home = message: {
|
notify_home = message: {
|
||||||
service = "notify.signal_home";
|
service = "notify.signal_home";
|
||||||
data.message = message;
|
data.message_template = message;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@ -32,7 +32,10 @@ in
|
|||||||
weekday = [ "sat" ];
|
weekday = [ "sat" ];
|
||||||
};
|
};
|
||||||
action = [
|
action = [
|
||||||
(notify_home "Es ist Wochenende und die Pflanzen würden sich über ein bisschen Wasser freuen.")
|
(notify_home
|
||||||
|
''Es ist Wochenende und die Pflanzen würden sich über ein bisschen Wasser freuen.
|
||||||
|
Die Wettervorhersage: {{sensor.dark_sky_summary}} mit einer Regenwahrscheinlichkeit von {{states.sensor.dark_sky_precip_probability.state}}%.
|
||||||
|
Aktuell sind es {{states.sensor.dark_sky_temperature.state}}°C bei {{states.sensor.dark_sky_humidity.state}}% Luftfeuchte'')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1.8.1";
|
version = "1.8.1";
|
||||||
|
|
||||||
src = builtins.fetchTarball {
|
src = builtins.fetchTarball {
|
||||||
url = "https://sac.chitubox.com/software/download.do?softwareId=17839&softwareVersionId=v${version}&fileName=CHITUBOX_V${version}.tar.gz";
|
#url = "https://sac.chitubox.com/software/download.do?softwareId=17839&softwareVersionId=v${version}&fileName=CHITUBOX_V${version}.tar.gz";
|
||||||
|
url = "https://archive.org/download/chitubox-v-1.8.1.tar/CHITUBOX_V${version}.tar.gz";
|
||||||
sha256 = "08fh8w7s5qvlx6bhdg24g81a7zprq7n8m27w2vdv0cd8j0wixbsx";
|
sha256 = "08fh8w7s5qvlx6bhdg24g81a7zprq7n8m27w2vdv0cd8j0wixbsx";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
Loading…
Reference in New Issue
Block a user