about summary refs log tree commit diff
path: root/users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-06-16T18·02+0200
committerclbot <clbot@tvl.fyi>2022-06-19T04·15+0000
commit4f0750cf904e63b4a390704734047d2b56d75a62 (patch)
tree6ba0cb7f7980067fe6047c5212d7a00c91a76ea7 /users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix
parent544d72189c5c1dc7a24d5dec68e9d377a62e5dc0 (diff)
feat(users/Profpatsch/sync-abfall-ics-aichach-friedberg): init r/4243
A small script that fetches calendar files for our local trash
provider. First step towards integrating ics files into my calendar
setup.

Change-Id: I0e8915a00c19349104cb6256e9dc87c17620fcae
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5883
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Autosubmit: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix')
-rw-r--r--users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix b/users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix
new file mode 100644
index 000000000000..9c25972783bd
--- /dev/null
+++ b/users/Profpatsch/sync-abfall-ics-aichach-friedberg/default.nix
@@ -0,0 +1,14 @@
+{ depot, pkgs, ... }:
+
+let
+  sync-to-dir = depot.users.Profpatsch.writers.python3
+    {
+      name = "sync-ics-to-dir";
+      libraries = (py: [
+        py.httpx
+        py.icalendar
+      ]);
+    } ./sync-ics-to-dir.py;
+
+in
+sync-to-dir