-
Notifications
You must be signed in to change notification settings - Fork 49
/
default.nix
39 lines (39 loc) · 1.67 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
39
{ 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, modern-uri, mr-env, optparse-applicative
, postgresql-binary, postgresql-migration, postgresql-simple
, random, raw-strings-qq, relude, req, safe-exceptions, scientific
, 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.7.3";
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 modern-uri mr-env optparse-applicative
postgresql-binary postgresql-migration postgresql-simple
raw-strings-qq relude req safe-exceptions scientific 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;
}