diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-13T19·53+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-20T10·26+0100 |
commit | 5fd79ce0ffd27f860d754edf398895c1f84a8e0b (patch) | |
tree | f263c22cfe5d0870c8edebcf28b6c32efa25cc31 /website/sandbox/shift-time/default.nix | |
parent | 81aa32fe71a0b8a822673b36a2ded9a427855286 (diff) |
Support parsing second shifts
Parse inputs like -10s into 10 second shifts back in time.
Diffstat (limited to 'website/sandbox/shift-time/default.nix')
-rw-r--r-- | website/sandbox/shift-time/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
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 + ]; +} |