about summary refs log tree commit diff
path: root/zoo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'zoo/default.nix')
-rw-r--r--zoo/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/zoo/default.nix b/zoo/default.nix
new file mode 100644
index 000000000000..35de24d9c2cc
--- /dev/null
+++ b/zoo/default.nix
@@ -0,0 +1,21 @@
+{ briefcase, ... }:
+
+briefcase.buildHaskell.program {
+  name = "zoo";
+  srcs = builtins.path {
+    path = ./.;
+    name = "zoo-src";
+  };
+  ghcExtensions = [
+    "OverloadedStrings"
+    "NoImplicitPrelude"
+    "RecordWildCards"
+    "TypeApplications"
+  ];
+  deps = hpkgs: with hpkgs; [
+    servant-server
+    aeson
+    warp
+    rio
+  ];
+}