diff --git a/ci-builds.nix b/ci-builds.nix index 01dd6d58e..f9eca106a 100644 --- a/ci-builds.nix +++ b/ci-builds.nix @@ -41,8 +41,9 @@ in lib.fix (self: { amsterdump clbot gemma + paroxysm + paroxysm.docker quinistry - tvldb watchblob wcl ]; diff --git a/fun/tvldb/.gitignore b/fun/paroxysm/.gitignore similarity index 100% rename from fun/tvldb/.gitignore rename to fun/paroxysm/.gitignore diff --git a/fun/tvldb/Cargo.lock b/fun/paroxysm/Cargo.lock similarity index 100% rename from fun/tvldb/Cargo.lock rename to fun/paroxysm/Cargo.lock diff --git a/fun/tvldb/Cargo.toml b/fun/paroxysm/Cargo.toml similarity index 100% rename from fun/tvldb/Cargo.toml rename to fun/paroxysm/Cargo.toml diff --git a/fun/tvldb/OWNERS b/fun/paroxysm/OWNERS similarity index 100% rename from fun/tvldb/OWNERS rename to fun/paroxysm/OWNERS diff --git a/fun/tvldb/README.md b/fun/paroxysm/README.md similarity index 100% rename from fun/tvldb/README.md rename to fun/paroxysm/README.md diff --git a/fun/tvldb/default.nix b/fun/paroxysm/default.nix similarity index 89% rename from fun/tvldb/default.nix rename to fun/paroxysm/default.nix index 6e6ab387f..214f2fdcb 100644 --- a/fun/tvldb/default.nix +++ b/fun/paroxysm/default.nix @@ -4,7 +4,7 @@ let pkgs = depot.third_party; in pkgs.naersk.buildPackage { - name = "tvldb"; + name = "paroxysm"; version = "0.0.1"; src = ./.; buildInputs = [pkgs.openssl pkgs.pkgconfig pkgs.postgresql.lib]; diff --git a/fun/paroxysm/docker/default.nix b/fun/paroxysm/docker/default.nix new file mode 100644 index 000000000..824259804 --- /dev/null +++ b/fun/paroxysm/docker/default.nix @@ -0,0 +1,7 @@ +{ depot, ... }: + +depot.third_party.dockerTools.buildLayeredImage { + name = "paroxysm"; + contents = [ depot.fun.paroxysm ]; + config.Entrypoint = [ "${depot.fun.paroxysm}/bin/paroxysm" ]; +} diff --git a/fun/tvldb/migrations/20181209140247_initial/down.sql b/fun/paroxysm/migrations/20181209140247_initial/down.sql similarity index 100% rename from fun/tvldb/migrations/20181209140247_initial/down.sql rename to fun/paroxysm/migrations/20181209140247_initial/down.sql diff --git a/fun/tvldb/migrations/20181209140247_initial/up.sql b/fun/paroxysm/migrations/20181209140247_initial/up.sql similarity index 100% rename from fun/tvldb/migrations/20181209140247_initial/up.sql rename to fun/paroxysm/migrations/20181209140247_initial/up.sql diff --git a/fun/tvldb/migrations/20181218142013_fix_unique/down.sql b/fun/paroxysm/migrations/20181218142013_fix_unique/down.sql similarity index 100% rename from fun/tvldb/migrations/20181218142013_fix_unique/down.sql rename to fun/paroxysm/migrations/20181218142013_fix_unique/down.sql diff --git a/fun/tvldb/migrations/20181218142013_fix_unique/up.sql b/fun/paroxysm/migrations/20181218142013_fix_unique/up.sql similarity index 100% rename from fun/tvldb/migrations/20181218142013_fix_unique/up.sql rename to fun/paroxysm/migrations/20181218142013_fix_unique/up.sql diff --git a/fun/tvldb/src/cfg.rs b/fun/paroxysm/src/cfg.rs similarity index 100% rename from fun/tvldb/src/cfg.rs rename to fun/paroxysm/src/cfg.rs diff --git a/fun/tvldb/src/keyword.rs b/fun/paroxysm/src/keyword.rs similarity index 100% rename from fun/tvldb/src/keyword.rs rename to fun/paroxysm/src/keyword.rs diff --git a/fun/tvldb/src/main.rs b/fun/paroxysm/src/main.rs similarity index 100% rename from fun/tvldb/src/main.rs rename to fun/paroxysm/src/main.rs diff --git a/fun/tvldb/src/models.rs b/fun/paroxysm/src/models.rs similarity index 100% rename from fun/tvldb/src/models.rs rename to fun/paroxysm/src/models.rs diff --git a/fun/tvldb/src/schema.rs b/fun/paroxysm/src/schema.rs similarity index 100% rename from fun/tvldb/src/schema.rs rename to fun/paroxysm/src/schema.rs diff --git a/fun/tvldb/docker/default.nix b/fun/tvldb/docker/default.nix deleted file mode 100644 index ab99dbb0d..000000000 --- a/fun/tvldb/docker/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ depot, ... }: - -depot.third_party.dockerTools.buildLayeredImage { - name = "tvldb"; - contents = [ depot.fun.tvldb ]; - config.Entrypoint = [ "${depot.fun.tvldb}/bin/paroxysm" ]; -}