-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.nix
50 lines (50 loc) · 2.33 KB
/
package.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
40
41
42
43
44
45
46
47
48
49
50
{ mkDerivation, aeson, base-noprelude, beam-core, beam-postgres
, bytestring, case-insensitive, conduit, containers, data-default
, hspec, hspec-wai, hspec-wai-json, http-types
, insert-ordered-containers, jose, lens, monad-control, mtl
, optparse-applicative, postgresql-simple, relude, resource-pool
, scrypt, servant, servant-auth, servant-auth-server
, servant-auth-swagger, servant-server, servant-swagger
, servant-swagger-ui, servant-swagger-ui-core, stdenv, swagger2
, text, time, transformers, validation, vector, wai, wai-cors
, wai-extra, warp
}:
mkDerivation {
pname = "realworld-conduit";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base-noprelude beam-core beam-postgres bytestring
case-insensitive conduit containers data-default http-types
insert-ordered-containers jose lens monad-control mtl
optparse-applicative postgresql-simple relude resource-pool scrypt
servant servant-auth servant-auth-server servant-auth-swagger
servant-server servant-swagger servant-swagger-ui
servant-swagger-ui-core swagger2 text time transformers validation
vector wai wai-cors wai-extra warp
];
executableHaskellDepends = [
aeson base-noprelude beam-core beam-postgres bytestring
case-insensitive conduit containers data-default http-types
insert-ordered-containers jose lens monad-control mtl
optparse-applicative postgresql-simple relude resource-pool scrypt
servant servant-auth servant-auth-server servant-auth-swagger
servant-server servant-swagger servant-swagger-ui
servant-swagger-ui-core swagger2 text time transformers validation
vector wai wai-cors wai-extra warp
];
testHaskellDepends = [
aeson base-noprelude beam-core beam-postgres bytestring
case-insensitive conduit containers data-default hspec hspec-wai
hspec-wai-json http-types insert-ordered-containers jose lens
monad-control mtl optparse-applicative postgresql-simple relude
resource-pool scrypt servant servant-auth servant-auth-server
servant-auth-swagger servant-server servant-swagger
servant-swagger-ui servant-swagger-ui-core swagger2 text time
transformers validation vector wai wai-cors wai-extra warp
];
description = "Exemplary fullstack Medium.com clone powered by Servant and Beam";
license = stdenv.lib.licenses.bsd3;
}