-
Notifications
You must be signed in to change notification settings - Fork 4
/
nix-wrangle.cabal
60 lines (50 loc) · 1021 Bytes
/
nix-wrangle.cabal
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
52
53
54
55
56
57
58
59
60
cabal-version: 2.0
name: nix-wrangle
version: 1.0.0
build-type: Simple
flag splice
description: enable `splice` subcommand (depends on hnix)
default: True
executable nix-wrangle
main-is: Main.hs
other-modules:
Wrangle.Cmd
Wrangle.Source
Wrangle.Util
Wrangle.Fetch
hs-source-dirs:
./src
ghc-options: -Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-signatures
if flag(splice)
cpp-options: -DENABLE_SPLICE
build-depends:
hnix ^>= 0.6.1
, data-fix
, megaparsec
, prettyprinter
other-modules:
Wrangle.Splice
build-depends:
-- basics
base
, bytestring
, text
, string-qq
-- util
, filepath
, directory
, exceptions
-- JSON / hashmap
, aeson
, aeson-pretty
, hashable
, unordered-containers
-- Cmd
, mtl
, optparse-applicative
-- Fetch
, regex-tdfa
, process
, strict
default-language: Haskell2010
other-extensions: CPP