Support parsing second shifts
Parse inputs like -10s into 10 second shifts back in time.
This commit is contained in:
parent
81aa32fe71
commit
5fd79ce0ff
5 changed files with 125 additions and 0 deletions
28
website/sandbox/shift-time/default.nix
Normal file
28
website/sandbox/shift-time/default.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue