about summary refs log tree commit diff
path: root/users/tazjin/tgsa/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-04-16T19·04+0200
committertazjin <tazjin@tvl.su>2022-04-16T20·35+0000
commit3d58dfb4ab1747f4cbc9e98ccc9b4b229476067a (patch)
tree993c4e1d55b47e655a0066784701a26c42d24c08 /users/tazjin/tgsa/default.nix
parent632c4280b5c8ad717a7ce7b08c49ad93630c8db4 (diff)
feat(tazjin/tgsa): Implement initial tg embed -> BBcode features r/3963
Supports only posts with plain photos, and loses all message
formatting, but it's getting there.

Change-Id: I9e4afcf3072d1e0724521ccbdc1338fe4f8d5ebe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5466
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/tgsa/default.nix')
-rw-r--r--users/tazjin/tgsa/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/tazjin/tgsa/default.nix b/users/tazjin/tgsa/default.nix
new file mode 100644
index 000000000000..ef8842ea26be
--- /dev/null
+++ b/users/tazjin/tgsa/default.nix
@@ -0,0 +1,10 @@
+{ depot, pkgs, ... }:
+
+depot.third_party.naersk.buildPackage {
+  src = ./.;
+
+  buildInputs = with pkgs; [
+    pkgconfig
+    openssl
+  ];
+}