-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
nixfmt.cabal
96 lines (89 loc) · 2.41 KB
/
nixfmt.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
cabal-version: 2.0
name: nixfmt
version: 0.6.0
synopsis: Official formatter for Nix code
description:
A formatter for Nix that ensures consistent and clear formatting by forgetting
almost all existing formatting during parsing.
homepage: https://github.com/NixOS/nixfmt
bug-reports: https://github.com/NixOS/nixfmt/issues
license: MPL-2.0
license-file: LICENSE
author: Serokell <[email protected]> and nixfmt contributors
copyright: Serokell <[email protected]> and nixfmt contributors
category: Development
build-type: Simple
extra-source-files: README.md, CHANGELOG.md
source-repository head
type: git
location: git://github.com/NixOS/nixfmt.git
executable nixfmt
main-is: Main.hs
other-modules:
Paths_nixfmt
System.IO.Utf8
System.IO.Atomic
autogen-modules:
Paths_nixfmt
other-extensions: DeriveDataTypeable
hs-source-dirs: main
build-depends:
base >= 4.12.0 && < 4.21
, bytestring
, cmdargs >= 0.10.20 && < 0.11
, file-embed
, nixfmt
, unix >= 2.7.2 && < 2.9
, text >= 1.2.3 && < 2.2
, transformers
-- for System.IO.Atomic
, directory >= 1.3.3 && < 1.4
, filepath >= 1.4.2 && < 1.5
, safe-exceptions >= 0.1.7 && < 0.2
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-threaded
library
exposed-modules:
Nixfmt
Nixfmt.Lexer
Nixfmt.Parser
Nixfmt.Parser.Float
Nixfmt.Predoc
Nixfmt.Pretty
Nixfmt.Types
Nixfmt.Util
default-extensions:
PackageImports
other-extensions:
DeriveFoldable
DeriveFunctor
FlexibleInstances
LambdaCase
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
hs-source-dirs: src
build-depends:
base >= 4.12.0 && < 4.21
, megaparsec >= 9.0.1 && < 9.6
, mtl
, parser-combinators >= 1.0.3 && < 1.4
, scientific >= 0.3.0 && < 0.4.0
, text >= 1.2.3 && < 2.2
, transformers
, pretty-simple
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wno-orphans