Procházet zdrojové kódy

Build with libcrypto for https support

master
Emery Hemingway před 2 roky
rodič
revize
ec5017a8b8
  1. 4
      hqtoxbot.nimble
  2. 2
      src/hqtoxbot.nim
  3. 1
      src/nim.cfg

4
hqtoxbot.nimble

@ -10,3 +10,7 @@ bin = @["hqtoxbot"]
# Dependencies
requires "nim >= 1.0.0", "toxcore >= 0.2.0"
import distros
if detectOs(NixOS):
foreignDep "openssl"

2
src/hqtoxbot.nim

@ -2,6 +2,8 @@ import toxcore
import std/asyncdispatch, std/base64, std/json, std/httpclient, std/os, std/strutils
{.passL: "-lcrypto".}
const
readmeText = readFile "README.md"
spaceApiUrl = "http://spaceapi.hq.c3d2.de:3000/spaceapi.json"

1
src/nim.cfg

@ -0,0 +1 @@
-d:ssl
Načítá se…
Zrušit
Uložit