forked from viviag/servant-auth-cookie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
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, base, base-compat, base64-bytestring, blaze-builder
, blaze-html, blaze-markup, bytestring, cereal, cereal-time, cookie
, criterion, cryptonite, data-default, deepseq, directory
, exceptions, filepath, hspec, hspec-wai, http-api-data, http-media
, http-types, memory, mtl, QuickCheck, servant, servant-blaze
, servant-server, stdenv, tagged, template-haskell, text, time
, transformers, wai, wai-extra, warp
}:
mkDerivation {
pname = "servant-auth-cookie";
version = "0.6.0.3";
src = ./.;
configureFlags = [ "-fbuild-examples" "-fdev" "-fservant91" ];
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base base64-bytestring blaze-builder bytestring cereal cereal-time
cookie cryptonite data-default exceptions http-api-data http-types
memory mtl servant servant-server tagged text time transformers wai
];
executableHaskellDepends = [
base base-compat base64-bytestring blaze-html blaze-markup
bytestring cereal cryptonite data-default directory exceptions
filepath http-api-data http-media http-types mtl servant
servant-blaze servant-server text time transformers wai warp
];
testHaskellDepends = [
base base-compat base64-bytestring blaze-html blaze-markup
bytestring cereal cookie cryptonite data-default deepseq directory
exceptions filepath hspec hspec-wai http-api-data http-media
http-types mtl QuickCheck servant servant-blaze servant-server
tagged template-haskell text time transformers wai wai-extra
];
benchmarkHaskellDepends = [
base bytestring criterion cryptonite servant-server
];
description = "Authentication via encrypted cookies";
license = stdenv.lib.licenses.bsd3;
}