feat(tvldb): Import the tvldb/paroxysm source, add a Nix derivation

- This imports the tvldb (actually a thing called 'paroxysm') code
  from https://git.theta.eu.org/eta/paroxysm into the monorepo.
- Additionally, I did a nix thing, yay! \o/
  (well, with tazjin's help)
- 3p/default.nix needed modifying to whitelist pgsql.

Change-Id: Icdf13ca221650dde376f632bd2dd8a087af451bf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/389
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
eta 2020-06-15 21:03:40 +01:00
parent 4c22cf3169
commit c3abbb5e2d
17 changed files with 2315 additions and 0 deletions

22
fun/tvldb/Cargo.toml Normal file
View file

@ -0,0 +1,22 @@
[package]
authors = ["eeeeeta <eta@theta.eu.org>"]
edition = "2018"
name = "paroxysm"
version = "0.1.0"
[dependencies]
chrono = "0.4.6"
config = "0.9.1"
env_logger = "0.6.0"
failure = "0.1.3"
irc = "0.13.6"
lazy_static = "1.2.0"
log = "0.4.6"
rand = "0.7.3"
regex = "1.1.0"
serde = "1.0.81"
serde_derive = "1.0.81"
[dependencies.diesel]
features = ["postgres", "chrono", "r2d2"]
version = "1.3.3"