- Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathspacecookie.nix
30 lines (30 loc) · 1.04 KB
/
spacecookie.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
{mkDerivation,aeson,async,attoparsec,base,bytestring
,containers,directory,download-curl,fast-logger
,filepath-bytestring,hxt-unicode,lib,mtl,process,socket
,systemd,tasty,tasty-expected-failure,tasty-hunit,text
,transformers,unix
}:
mkDerivation{
pname="spacecookie";
version="1.0.0.2";
src=./.;
isLibrary=true;
isExecutable=true;
libraryHaskellDepends=[
asyncattoparsecbasebytestringcontainersdirectory
filepath-bytestringhxt-unicodemtlsockettexttransformersunix
];
executableHaskellDepends=[
aesonattoparsecbasebytestringcontainersdirectoryfast-logger
filepath-bytestringmtlsocketsystemdtexttransformersunix
];
testHaskellDepends=[
attoparsecbasebytestringcontainersdirectorydownload-curl
filepath-bytestringprocesstastytasty-expected-failure
tasty-hunit
];
homepage="https://github.com/sternenseemann/spacecookie";
description="Gopher server library and daemon";
license=lib.licenses.gpl3Only;
mainProgram="spacecookie";
}