Merge pull request #10599 from cabalism/typo/depency
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / issue-6083-c.expr
blob8db694b738997b856013d2bebe725691748dc8f8
1 GenericPackageDescription {
2   packageDescription =
3   PackageDescription {
4     specVersion = CabalSpecV2_4,
5     package = PackageIdentifier {
6       pkgName = PackageName "issue",
7       pkgVersion = mkVersion [6083]},
8     licenseRaw = Left NONE,
9     licenseFiles = [],
10     copyright = "",
11     maintainer = "",
12     author = "",
13     stability = "",
14     testedWith = [],
15     homepage = "",
16     pkgUrl = "",
17     bugReports = "",
18     sourceRepos = [],
19     synopsis = "",
20     description = "",
21     category = "",
22     customFieldsPD = [],
23     buildTypeRaw = Nothing,
24     setupBuildInfo = Nothing,
25     library = Nothing,
26     subLibraries = [],
27     executables = [],
28     foreignLibs = [],
29     testSuites = [],
30     benchmarks = [],
31     dataFiles = [],
32     dataDir = SymbolicPath ".",
33     extraSrcFiles = [],
34     extraTmpFiles = [],
35     extraDocFiles = [],
36     extraFiles = []},
37   gpdScannedVersion = Nothing,
38   genPackageFlags = [],
39   condLibrary = Just
40     CondNode {
41       condTreeData = Library {
42         libName = LMainLibName,
43         exposedModules = [],
44         reexportedModules = [],
45         signatures = [],
46         libExposed = True,
47         libVisibility =
48         LibraryVisibilityPublic,
49         libBuildInfo = BuildInfo {
50           buildable = True,
51           buildTools = [],
52           buildToolDepends = [],
53           cppOptions = [],
54           asmOptions = [],
55           cmmOptions = [],
56           ccOptions = [],
57           cxxOptions = [],
58           ldOptions = [],
59           hsc2hsOptions = [],
60           pkgconfigDepends = [],
61           frameworks = [],
62           extraFrameworkDirs = [],
63           asmSources = [],
64           cmmSources = [],
65           cSources = [],
66           cxxSources = [],
67           jsSources = [],
68           hsSourceDirs = [],
69           otherModules = [],
70           virtualModules = [],
71           autogenModules = [],
72           defaultLanguage = Just
73             Haskell2010,
74           otherLanguages = [],
75           defaultExtensions = [],
76           otherExtensions = [],
77           oldExtensions = [],
78           extraLibs = [],
79           extraLibsStatic = [],
80           extraGHCiLibs = [],
81           extraBundledLibs = [],
82           extraLibFlavours = [],
83           extraDynLibFlavours = [],
84           extraLibDirs = [],
85           extraLibDirsStatic = [],
86           includeDirs = [],
87           includes = [],
88           autogenIncludes = [],
89           installIncludes = [],
90           options = PerCompilerFlavor
91             []
92             [],
93           profOptions = PerCompilerFlavor
94             []
95             [],
96           sharedOptions =
97           PerCompilerFlavor [] [],
98           profSharedOptions =
99           PerCompilerFlavor [] [],
100           staticOptions =
101           PerCompilerFlavor [] [],
102           customFieldsBI = [],
103           targetBuildDepends = [
104             Dependency
105               (PackageName "base")
106               (OrLaterVersion (mkVersion [0]))
107               mainLibSet,
108             Dependency
109               (PackageName "issue")
110               (OrLaterVersion (mkVersion [0]))
111               (NonEmptySet.fromNonEmpty
112                 (NE.fromList
113                   [
114                     LSubLibName
115                       (UnqualComponentName
116                         "sublib")]))],
117           mixins = []}},
118       condTreeConstraints = [
119         Dependency
120           (PackageName "base")
121           (OrLaterVersion (mkVersion [0]))
122           mainLibSet,
123         Dependency
124           (PackageName "issue")
125           (OrLaterVersion (mkVersion [0]))
126           (NonEmptySet.fromNonEmpty
127             (NE.fromList
128               [
129                 LSubLibName
130                   (UnqualComponentName
131                     "sublib")]))],
132       condTreeComponents = []},
133   condSubLibraries = [
134     _×_
135       (UnqualComponentName "sublib")
136       CondNode {
137         condTreeData = Library {
138           libName = LSubLibName
139             (UnqualComponentName "sublib"),
140           exposedModules = [],
141           reexportedModules = [],
142           signatures = [],
143           libExposed = True,
144           libVisibility =
145           LibraryVisibilityPrivate,
146           libBuildInfo = BuildInfo {
147             buildable = True,
148             buildTools = [],
149             buildToolDepends = [],
150             cppOptions = [],
151             asmOptions = [],
152             cmmOptions = [],
153             ccOptions = [],
154             cxxOptions = [],
155             ldOptions = [],
156             hsc2hsOptions = [],
157             pkgconfigDepends = [],
158             frameworks = [],
159             extraFrameworkDirs = [],
160             asmSources = [],
161             cmmSources = [],
162             cSources = [],
163             cxxSources = [],
164             jsSources = [],
165             hsSourceDirs = [],
166             otherModules = [],
167             virtualModules = [],
168             autogenModules = [],
169             defaultLanguage = Just
170               Haskell2010,
171             otherLanguages = [],
172             defaultExtensions = [],
173             otherExtensions = [],
174             oldExtensions = [],
175             extraLibs = [],
176             extraLibsStatic = [],
177             extraGHCiLibs = [],
178             extraBundledLibs = [],
179             extraLibFlavours = [],
180             extraDynLibFlavours = [],
181             extraLibDirs = [],
182             extraLibDirsStatic = [],
183             includeDirs = [],
184             includes = [],
185             autogenIncludes = [],
186             installIncludes = [],
187             options = PerCompilerFlavor
188               []
189               [],
190             profOptions = PerCompilerFlavor
191               []
192               [],
193             sharedOptions =
194             PerCompilerFlavor [] [],
195             profSharedOptions =
196             PerCompilerFlavor [] [],
197             staticOptions =
198             PerCompilerFlavor [] [],
199             customFieldsBI = [],
200             targetBuildDepends = [],
201             mixins = []}},
202         condTreeConstraints = [],
203         condTreeComponents = []}],
204   condForeignLibs = [],
205   condExecutables = [],
206   condTestSuites = [],
207   condBenchmarks = []}