1+ { system
2+ , compiler
3+ , flags
4+ , pkgs
5+ , hsPkgs
6+ , pkgconfPkgs
7+ , errorHandler
8+ , config
9+ , ... } :
10+ {
11+ flags = { } ;
12+ package = {
13+ specVersion = "2.0" ;
14+ identifier = { name = "hindent" ; version = "6.2.1" ; } ;
15+ license = "BSD-3-Clause" ;
16+ copyright = "2014 Chris Done, 2015 Andrew Gibiansky, 2021 Mihai Maruseac" ;
17+ maintainer = "Mihai Maruseac" ;
18+ author = "Mihai Maruseac, Chris Done, Andrew Gibiansky, Tobias Pflug, Pierre Radermecker" ;
19+ homepage = "https://github.com/mihaimaruseac/hindent" ;
20+ url = "" ;
21+ synopsis = "Extensible Haskell pretty printer" ;
22+ description = "Extensible Haskell pretty printer. Both a library and an executable.\n See the GitHub page for usage \\ / explanation: <https://github.com/mihaimaruseac/hindent>" ;
23+ buildType = "Simple" ;
24+ } ;
25+ components = {
26+ "library" = {
27+ depends = [
28+ ( hsPkgs . "Cabal" or ( errorHandler . buildDepError "Cabal" ) )
29+ ( hsPkgs . "async" or ( errorHandler . buildDepError "async" ) )
30+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
31+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
32+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
33+ ( hsPkgs . "directory" or ( errorHandler . buildDepError "directory" ) )
34+ ( hsPkgs . "exceptions" or ( errorHandler . buildDepError "exceptions" ) )
35+ ( hsPkgs . "filepath" or ( errorHandler . buildDepError "filepath" ) )
36+ ( hsPkgs . "ghc-lib-parser" or ( errorHandler . buildDepError "ghc-lib-parser" ) )
37+ ( hsPkgs . "ghc-lib-parser-ex" or ( errorHandler . buildDepError "ghc-lib-parser-ex" ) )
38+ ( hsPkgs . "monad-loops" or ( errorHandler . buildDepError "monad-loops" ) )
39+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
40+ ( hsPkgs . "optparse-applicative" or ( errorHandler . buildDepError "optparse-applicative" ) )
41+ ( hsPkgs . "path" or ( errorHandler . buildDepError "path" ) )
42+ ( hsPkgs . "path-io" or ( errorHandler . buildDepError "path-io" ) )
43+ ( hsPkgs . "regex-tdfa" or ( errorHandler . buildDepError "regex-tdfa" ) )
44+ ( hsPkgs . "split" or ( errorHandler . buildDepError "split" ) )
45+ ( hsPkgs . "syb" or ( errorHandler . buildDepError "syb" ) )
46+ ( hsPkgs . "transformers" or ( errorHandler . buildDepError "transformers" ) )
47+ ( hsPkgs . "unicode-show" or ( errorHandler . buildDepError "unicode-show" ) )
48+ ( hsPkgs . "utf8-string" or ( errorHandler . buildDepError "utf8-string" ) )
49+ ( hsPkgs . "yaml" or ( errorHandler . buildDepError "yaml" ) )
50+ ] ;
51+ buildable = true ;
52+ } ;
53+ sublibs = {
54+ "hindent-internal" = {
55+ depends = [
56+ ( hsPkgs . "Cabal" or ( errorHandler . buildDepError "Cabal" ) )
57+ ( hsPkgs . "async" or ( errorHandler . buildDepError "async" ) )
58+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
59+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
60+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
61+ ( hsPkgs . "deepseq" or ( errorHandler . buildDepError "deepseq" ) )
62+ ( hsPkgs . "directory" or ( errorHandler . buildDepError "directory" ) )
63+ ( hsPkgs . "exceptions" or ( errorHandler . buildDepError "exceptions" ) )
64+ ( hsPkgs . "filepath" or ( errorHandler . buildDepError "filepath" ) )
65+ ( hsPkgs . "ghc-lib-parser" or ( errorHandler . buildDepError "ghc-lib-parser" ) )
66+ ( hsPkgs . "ghc-lib-parser-ex" or ( errorHandler . buildDepError "ghc-lib-parser-ex" ) )
67+ ( hsPkgs . "monad-loops" or ( errorHandler . buildDepError "monad-loops" ) )
68+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
69+ ( hsPkgs . "optparse-applicative" or ( errorHandler . buildDepError "optparse-applicative" ) )
70+ ( hsPkgs . "path" or ( errorHandler . buildDepError "path" ) )
71+ ( hsPkgs . "path-io" or ( errorHandler . buildDepError "path-io" ) )
72+ ( hsPkgs . "regex-tdfa" or ( errorHandler . buildDepError "regex-tdfa" ) )
73+ ( hsPkgs . "split" or ( errorHandler . buildDepError "split" ) )
74+ ( hsPkgs . "syb" or ( errorHandler . buildDepError "syb" ) )
75+ ( hsPkgs . "transformers" or ( errorHandler . buildDepError "transformers" ) )
76+ ( hsPkgs . "unicode-show" or ( errorHandler . buildDepError "unicode-show" ) )
77+ ( hsPkgs . "utf8-string" or ( errorHandler . buildDepError "utf8-string" ) )
78+ ( hsPkgs . "yaml" or ( errorHandler . buildDepError "yaml" ) )
79+ ] ;
80+ buildable = true ;
81+ } ;
82+ } ;
83+ exes = {
84+ "hindent" = {
85+ depends = [
86+ ( hsPkgs . "Cabal" or ( errorHandler . buildDepError "Cabal" ) )
87+ ( hsPkgs . "async" or ( errorHandler . buildDepError "async" ) )
88+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
89+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
90+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
91+ ( hsPkgs . "directory" or ( errorHandler . buildDepError "directory" ) )
92+ ( hsPkgs . "exceptions" or ( errorHandler . buildDepError "exceptions" ) )
93+ ( hsPkgs . "filepath" or ( errorHandler . buildDepError "filepath" ) )
94+ ( hsPkgs . "ghc-lib-parser" or ( errorHandler . buildDepError "ghc-lib-parser" ) )
95+ ( hsPkgs . "ghc-lib-parser-ex" or ( errorHandler . buildDepError "ghc-lib-parser-ex" ) )
96+ ( hsPkgs . "hindent" or ( errorHandler . buildDepError "hindent" ) )
97+ ( hsPkgs . "monad-loops" or ( errorHandler . buildDepError "monad-loops" ) )
98+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
99+ ( hsPkgs . "optparse-applicative" or ( errorHandler . buildDepError "optparse-applicative" ) )
100+ ( hsPkgs . "path" or ( errorHandler . buildDepError "path" ) )
101+ ( hsPkgs . "path-io" or ( errorHandler . buildDepError "path-io" ) )
102+ ( hsPkgs . "regex-tdfa" or ( errorHandler . buildDepError "regex-tdfa" ) )
103+ ( hsPkgs . "split" or ( errorHandler . buildDepError "split" ) )
104+ ( hsPkgs . "syb" or ( errorHandler . buildDepError "syb" ) )
105+ ( hsPkgs . "transformers" or ( errorHandler . buildDepError "transformers" ) )
106+ ( hsPkgs . "unicode-show" or ( errorHandler . buildDepError "unicode-show" ) )
107+ ( hsPkgs . "utf8-string" or ( errorHandler . buildDepError "utf8-string" ) )
108+ ( hsPkgs . "yaml" or ( errorHandler . buildDepError "yaml" ) )
109+ ] ;
110+ buildable = true ;
111+ } ;
112+ } ;
113+ tests = {
114+ "hindent-test" = {
115+ depends = [
116+ ( hsPkgs . "Cabal" or ( errorHandler . buildDepError "Cabal" ) )
117+ ( hsPkgs . "Diff" or ( errorHandler . buildDepError "Diff" ) )
118+ ( hsPkgs . "async" or ( errorHandler . buildDepError "async" ) )
119+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
120+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
121+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
122+ ( hsPkgs . "directory" or ( errorHandler . buildDepError "directory" ) )
123+ ( hsPkgs . "exceptions" or ( errorHandler . buildDepError "exceptions" ) )
124+ ( hsPkgs . "filepath" or ( errorHandler . buildDepError "filepath" ) )
125+ ( hsPkgs . "ghc-lib-parser" or ( errorHandler . buildDepError "ghc-lib-parser" ) )
126+ ( hsPkgs . "ghc-lib-parser-ex" or ( errorHandler . buildDepError "ghc-lib-parser-ex" ) )
127+ ( hsPkgs . "hindent" or ( errorHandler . buildDepError "hindent" ) )
128+ ( hsPkgs . "hindent" . components . sublibs . hindent-internal or ( errorHandler . buildDepError "hindent:hindent-internal" ) )
129+ ( hsPkgs . "hspec" or ( errorHandler . buildDepError "hspec" ) )
130+ ( hsPkgs . "monad-loops" or ( errorHandler . buildDepError "monad-loops" ) )
131+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
132+ ( hsPkgs . "optparse-applicative" or ( errorHandler . buildDepError "optparse-applicative" ) )
133+ ( hsPkgs . "path" or ( errorHandler . buildDepError "path" ) )
134+ ( hsPkgs . "path-io" or ( errorHandler . buildDepError "path-io" ) )
135+ ( hsPkgs . "regex-tdfa" or ( errorHandler . buildDepError "regex-tdfa" ) )
136+ ( hsPkgs . "split" or ( errorHandler . buildDepError "split" ) )
137+ ( hsPkgs . "syb" or ( errorHandler . buildDepError "syb" ) )
138+ ( hsPkgs . "transformers" or ( errorHandler . buildDepError "transformers" ) )
139+ ( hsPkgs . "unicode-show" or ( errorHandler . buildDepError "unicode-show" ) )
140+ ( hsPkgs . "utf8-string" or ( errorHandler . buildDepError "utf8-string" ) )
141+ ( hsPkgs . "yaml" or ( errorHandler . buildDepError "yaml" ) )
142+ ] ;
143+ buildable = true ;
144+ } ;
145+ } ;
146+ benchmarks = {
147+ "hindent-bench" = {
148+ depends = [
149+ ( hsPkgs . "Cabal" or ( errorHandler . buildDepError "Cabal" ) )
150+ ( hsPkgs . "async" or ( errorHandler . buildDepError "async" ) )
151+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
152+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
153+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
154+ ( hsPkgs . "criterion" or ( errorHandler . buildDepError "criterion" ) )
155+ ( hsPkgs . "deepseq" or ( errorHandler . buildDepError "deepseq" ) )
156+ ( hsPkgs . "directory" or ( errorHandler . buildDepError "directory" ) )
157+ ( hsPkgs . "exceptions" or ( errorHandler . buildDepError "exceptions" ) )
158+ ( hsPkgs . "filepath" or ( errorHandler . buildDepError "filepath" ) )
159+ ( hsPkgs . "ghc-lib-parser" or ( errorHandler . buildDepError "ghc-lib-parser" ) )
160+ ( hsPkgs . "ghc-lib-parser-ex" or ( errorHandler . buildDepError "ghc-lib-parser-ex" ) )
161+ ( hsPkgs . "hindent" or ( errorHandler . buildDepError "hindent" ) )
162+ ( hsPkgs . "hindent" . components . sublibs . hindent-internal or ( errorHandler . buildDepError "hindent:hindent-internal" ) )
163+ ( hsPkgs . "monad-loops" or ( errorHandler . buildDepError "monad-loops" ) )
164+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
165+ ( hsPkgs . "optparse-applicative" or ( errorHandler . buildDepError "optparse-applicative" ) )
166+ ( hsPkgs . "path" or ( errorHandler . buildDepError "path" ) )
167+ ( hsPkgs . "path-io" or ( errorHandler . buildDepError "path-io" ) )
168+ ( hsPkgs . "regex-tdfa" or ( errorHandler . buildDepError "regex-tdfa" ) )
169+ ( hsPkgs . "split" or ( errorHandler . buildDepError "split" ) )
170+ ( hsPkgs . "syb" or ( errorHandler . buildDepError "syb" ) )
171+ ( hsPkgs . "transformers" or ( errorHandler . buildDepError "transformers" ) )
172+ ( hsPkgs . "unicode-show" or ( errorHandler . buildDepError "unicode-show" ) )
173+ ( hsPkgs . "utf8-string" or ( errorHandler . buildDepError "utf8-string" ) )
174+ ( hsPkgs . "yaml" or ( errorHandler . buildDepError "yaml" ) )
175+ ] ;
176+ buildable = true ;
177+ } ;
178+ } ;
179+ } ;
180+ }
0 commit comments