-
Notifications
You must be signed in to change notification settings - Fork 0
/
vanguard.nix
39 lines (39 loc) · 1.44 KB
/
vanguard.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, mbedtls
, async, base, bytestring, cereal, connection
, containers, data-default-class, http-client, http-client-tls
, HUnit, mtl, network, network-house, QuickCheck, stdenv, stm
, stunclient, test-framework, test-framework-hunit
, test-framework-quickcheck2, time, tls, transformers
, unbounded-delays, unix, unix-bytestring, yaml, wai, warp
, http-types, free, tree-threads, concurrent-stack, vanguard-core
, additionalTools ? []
}:
mkDerivation {
pname = "vanguard";
version = "0.1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
buildDepends = additionalTools;
executableHaskellDepends = [
# System dependencies
mbedtls
# Haskell dependencies
async base bytestring cereal connection containers
data-default-class http-client http-client-tls mtl network
network-house stm stunclient tls transformers unbounded-delays unix
unix-bytestring yaml wai warp free tree-threads concurrent-stack vanguard-core
];
testHaskellDepends = [
# System dependencies
mbedtls
# Haskell dependencies
async base bytestring connection containers data-default-class
http-client http-client-tls HUnit mtl QuickCheck stm test-framework
test-framework-hunit test-framework-quickcheck2 time tls
transformers yaml http-types free tree-threads vanguard-core
];
homepage = "https://github.com/rlupton20/networkChaos";
description = "A peer-to-peer VPN";
license = stdenv.lib.licenses.gpl3;
}