forked from mujx/hakatime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
38 lines (38 loc) · 1.64 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ mkDerivation, aeson, base, base64-bytestring, bytestring
, case-insensitive, containers, contravariant-extras, cookie
, cryptonite, fakedata, file-embed, hasql, hasql-pool, hasql-queue
, hasql-transaction, http-client, http-client-tls, http-media
, http-types, katip, lib, mr-env, optparse-applicative
, postgresql-binary, postgresql-simple, postgresql-simple-migration
, random, raw-strings-qq, relude, req, safe-exceptions, servant
, servant-client, servant-server, system-filepath, text, time, unix
, uuid, uuid-types, vector, wai, wai-cors, wai-extra, wai-logger
, warp
}:
mkDerivation {
pname = "hakatime";
version = "1.3.2";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base base64-bytestring bytestring case-insensitive containers
contravariant-extras cookie cryptonite file-embed hasql hasql-pool
hasql-queue hasql-transaction http-client http-client-tls
http-media http-types katip mr-env optparse-applicative
postgresql-binary postgresql-simple postgresql-simple-migration
raw-strings-qq relude req safe-exceptions servant servant-server
system-filepath text time unix uuid uuid-types vector wai wai-extra
];
executableHaskellDepends = [
aeson base base64-bytestring fakedata hasql hasql-pool hasql-queue
http-client http-client-tls katip mr-env optparse-applicative
random relude safe-exceptions servant servant-client servant-server
time unix wai wai-cors wai-extra wai-logger warp
];
testHaskellDepends = [ base ];
doHaddock = false;
doCheck = false;
description = "Wakatime API server implementation / Dashboard UI";
license = lib.licenses.unlicense;
}