-
Notifications
You must be signed in to change notification settings - Fork 10
/
default.nix
51 lines (51 loc) · 2.04 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
40
41
42
43
44
45
46
47
48
49
50
51
{ mkDerivation, acid-state, async, base, base64-bytestring, binary
, blake2, bytestring, cereal, clock, conduit-extra, containers
, data-default, directory, ed25519, either, exceptions, file-embed
, filepath, formatting, gtk3, hashable, hslogger, hspec, lens
, monad-control, monad-loops, MonadRandom, msgpack, msgpack-rpc
, mtl, optparse-applicative, optparse-generic, pqueue, QuickCheck
, random, safe, safecopy, serokell-core, stdenv, stm, temporary
, text, text-format, time, time-units, transformers
, transformers-base, tuple, unordered-containers, vector
#, makeWrapper, theme-vertex
, makeWrapper
}:
mkDerivation {
pname = "rscoin";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
doCheck = false;
libraryHaskellDepends = [
acid-state base base64-bytestring binary blake2 bytestring cereal
conduit-extra containers data-default directory ed25519 either
exceptions file-embed filepath gtk3 hashable hslogger lens
monad-control monad-loops MonadRandom msgpack msgpack-rpc mtl
pqueue QuickCheck random safe safecopy serokell-core stm text
text-format time time-units transformers transformers-base tuple
unordered-containers vector
];
executableHaskellDepends = [
acid-state async base clock containers exceptions filepath
formatting gtk3 lens mtl optparse-applicative optparse-generic
safecopy serokell-core stm temporary text text-format time-units
transformers tuple
];
testHaskellDepends = [
acid-state async base bytestring containers data-default exceptions
hspec lens MonadRandom msgpack msgpack-rpc mtl QuickCheck random
safe safecopy serokell-core stm text time-units transformers tuple
vector
];
# executableToolDepends = [ makeWrapper theme-vertex ];
executableToolDepends = [ makeWrapper ];
# executableSystemDepends = [ gtk3 theme-vertex ];
executableSystemDepends = [ gtk3 ];
buildDepends = [ makeWrapper ];
# postInstall = ''
# wrapProgram $out/bin/rscoin-user \
# --set GTK_THEME "Vertex-Dark"
# '';
license = stdenv.lib.licenses.gpl3;
}