From 5fd79ce0ffd27f860d754edf398895c1f84a8e0b Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 13 Aug 2020 20:53:11 +0100 Subject: Support parsing second shifts Parse inputs like -10s into 10 second shifts back in time. --- website/sandbox/shift-time/default.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 website/sandbox/shift-time/default.nix (limited to 'website/sandbox/shift-time/default.nix') diff --git a/website/sandbox/shift-time/default.nix b/website/sandbox/shift-time/default.nix new file mode 100644 index 000000000000..356c250c7134 --- /dev/null +++ b/website/sandbox/shift-time/default.nix @@ -0,0 +1,28 @@ +let + briefcase = import /home/wpcarro/briefcase {}; +in briefcase.buildHaskell.program { + name = "shift-time"; + srcs = builtins.path { + path = ./.; + name = "shift-time-src"; + }; + ghcExtensions = [ + "OverloadedStrings" + "NoImplicitPrelude" + "RecordWildCards" + "TypeApplications" + ]; + deps = hpkgs: with hpkgs; [ + servant-server + aeson + wai-cors + warp + jwt + unordered-containers + base64 + http-conduit + rio + envy + req + ]; +} -- cgit 1.4.1