Support parsing second shifts

Parse inputs like -10s into 10 second shifts back in time.
This commit is contained in:
William Carroll 2020-08-13 20:53:11 +01:00
parent 81aa32fe71
commit 5fd79ce0ff
5 changed files with 125 additions and 0 deletions

View file

@ -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
];
}