Create changelogs for 3.14.1.0 (#10591)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / libpq2.expr
blob80b558d0b919ad2074d46593424dd244b6f470ac
1 GenericPackageDescription {
2   packageDescription =
3   PackageDescription {
4     specVersion = CabalSpecV3_0,
5     package = PackageIdentifier {
6       pkgName = PackageName
7         "postgresql-libpq",
8       pkgVersion = mkVersion
9         [0, 9, 4, 2]},
10     licenseRaw = Left
11       (License
12         (ELicense
13           (ELicenseId BSD_3_Clause)
14           Nothing)),
15     licenseFiles = [
16       SymbolicPath "LICENSE"],
17     copyright = concat
18       [
19         "(c) 2010 Grant Monroe\n",
20         "(c) 2011 Leon P Smith"],
21     maintainer =
22     "Oleg Grenrus <oleg.grenrus@iki.fi>",
23     author =
24     "Grant Monroe, Leon P Smith, Joey Adams",
25     stability = "",
26     testedWith = [
27       _×_
28         GHC
29         (ThisVersion
30           (mkVersion [7, 0, 4])),
31       _×_
32         GHC
33         (ThisVersion
34           (mkVersion [7, 2, 2])),
35       _×_
36         GHC
37         (ThisVersion
38           (mkVersion [7, 4, 2])),
39       _×_
40         GHC
41         (ThisVersion
42           (mkVersion [7, 6, 3])),
43       _×_
44         GHC
45         (ThisVersion
46           (mkVersion [7, 8, 4])),
47       _×_
48         GHC
49         (ThisVersion
50           (mkVersion [7, 10, 3])),
51       _×_
52         GHC
53         (ThisVersion
54           (mkVersion [8, 0, 2])),
55       _×_
56         GHC
57         (ThisVersion
58           (mkVersion [8, 2, 2])),
59       _×_
60         GHC
61         (ThisVersion
62           (mkVersion [8, 4, 3])),
63       _×_
64         GHC
65         (ThisVersion
66           (mkVersion [8, 6, 1]))],
67     homepage =
68     "https://github.com/phadej/postgresql-libpq",
69     pkgUrl = "",
70     bugReports = "",
71     sourceRepos = [],
72     synopsis =
73     "low-level binding to libpq",
74     description = concat
75       [
76         "This is a binding to libpq: the C application\n",
77         "programmer's interface to PostgreSQL. libpq is a\n",
78         "set of library functions that allow client\n",
79         "programs to pass queries to the PostgreSQL\n",
80         "backend server and to receive the results of\n",
81         "these queries."],
82     category = "Database",
83     customFieldsPD = [],
84     buildTypeRaw = Just Custom,
85     setupBuildInfo = Just
86       SetupBuildInfo {
87         setupDepends = [
88           Dependency
89             (PackageName "base")
90             (IntersectVersionRanges
91               (OrLaterVersion
92                 (mkVersion [4, 3]))
93               (EarlierVersion
94                 (mkVersion [5])))
95             mainLibSet,
96           Dependency
97             (PackageName "Cabal")
98             (IntersectVersionRanges
99               (OrLaterVersion
100                 (mkVersion [1, 10]))
101               (EarlierVersion
102                 (mkVersion [2, 5])))
103             mainLibSet],
104         defaultSetupDepends = False},
105     library = Nothing,
106     subLibraries = [],
107     executables = [],
108     foreignLibs = [],
109     testSuites = [],
110     benchmarks = [],
111     dataFiles = [],
112     dataDir = SymbolicPath ".",
113     extraSrcFiles = [
114       SymbolicPath
115         "cbits/noticehandlers.h",
116       SymbolicPath "CHANGELOG.md"],
117     extraTmpFiles = [],
118     extraDocFiles = [],
119     extraFiles = []},
120   gpdScannedVersion = Nothing,
121   genPackageFlags = [
122     MkPackageFlag {
123       flagName = FlagName
124         "use-pkg-config",
125       flagDescription = "",
126       flagDefault = False,
127       flagManual = True}],
128   condLibrary = Just
129     CondNode {
130       condTreeData = Library {
131         libName = LMainLibName,
132         exposedModules = [
133           ModuleName
134             "Database.PostgreSQL.LibPQ",
135           ModuleName
136             "Database.PostgreSQL.LibPQ.Internal"],
137         reexportedModules = [],
138         signatures = [],
139         libExposed = True,
140         libVisibility =
141         LibraryVisibilityPublic,
142         libBuildInfo = BuildInfo {
143           buildable = True,
144           buildTools = [],
145           buildToolDepends = [
146             ExeDependency
147               (PackageName "hsc2hs")
148               (UnqualComponentName "hsc2hs")
149               (OrLaterVersion
150                 (mkVersion [0]))],
151           cppOptions = [],
152           asmOptions = [],
153           cmmOptions = [],
154           ccOptions = [],
155           cxxOptions = [],
156           ldOptions = [],
157           hsc2hsOptions = [],
158           pkgconfigDepends = [],
159           frameworks = [],
160           extraFrameworkDirs = [],
161           asmSources = [],
162           cmmSources = [],
163           cSources = [
164             SymbolicPath
165               "cbits/noticehandlers.c"],
166           cxxSources = [],
167           jsSources = [],
168           hsSourceDirs = [
169             SymbolicPath "src"],
170           otherModules = [],
171           virtualModules = [],
172           autogenModules = [],
173           defaultLanguage = Nothing,
174           otherLanguages = [],
175           defaultExtensions = [],
176           otherExtensions = [],
177           oldExtensions = [],
178           extraLibs = [],
179           extraLibsStatic = [],
180           extraGHCiLibs = [],
181           extraBundledLibs = [],
182           extraLibFlavours = [],
183           extraDynLibFlavours = [],
184           extraLibDirs = [],
185           extraLibDirsStatic = [],
186           includeDirs = [
187             SymbolicPath "cbits"],
188           includes = [],
189           autogenIncludes = [],
190           installIncludes = [],
191           options = PerCompilerFlavor
192             ["-Wall"]
193             [],
194           profOptions = PerCompilerFlavor
195             []
196             [],
197           sharedOptions =
198           PerCompilerFlavor [] [],
199           profSharedOptions =
200           PerCompilerFlavor [] [],
201           staticOptions =
202           PerCompilerFlavor [] [],
203           customFieldsBI = [],
204           targetBuildDepends = [
205             Dependency
206               (PackageName "base")
207               (IntersectVersionRanges
208                 (OrLaterVersion
209                   (mkVersion [4, 3]))
210                 (EarlierVersion
211                   (mkVersion [4, 13])))
212               mainLibSet,
213             Dependency
214               (PackageName "bytestring")
215               (IntersectVersionRanges
216                 (OrLaterVersion
217                   (mkVersion [0, 9, 1, 0]))
218                 (EarlierVersion
219                   (mkVersion [0, 11])))
220               mainLibSet],
221           mixins = []}},
222       condTreeConstraints = [
223         Dependency
224           (PackageName "base")
225           (IntersectVersionRanges
226             (OrLaterVersion
227               (mkVersion [4, 3]))
228             (EarlierVersion
229               (mkVersion [4, 13])))
230           mainLibSet,
231         Dependency
232           (PackageName "bytestring")
233           (IntersectVersionRanges
234             (OrLaterVersion
235               (mkVersion [0, 9, 1, 0]))
236             (EarlierVersion
237               (mkVersion [0, 11])))
238           mainLibSet],
239       condTreeComponents = [
240         CondBranch {
241           condBranchCondition =
242           `CNot (Var (OS Windows))`,
243           condBranchIfTrue = CondNode {
244             condTreeData = Library {
245               libName = LMainLibName,
246               exposedModules = [],
247               reexportedModules = [],
248               signatures = [],
249               libExposed = True,
250               libVisibility =
251               LibraryVisibilityPublic,
252               libBuildInfo = BuildInfo {
253                 buildable = True,
254                 buildTools = [],
255                 buildToolDepends = [],
256                 cppOptions = [],
257                 asmOptions = [],
258                 cmmOptions = [],
259                 ccOptions = [],
260                 cxxOptions = [],
261                 ldOptions = [],
262                 hsc2hsOptions = [],
263                 pkgconfigDepends = [],
264                 frameworks = [],
265                 extraFrameworkDirs = [],
266                 asmSources = [],
267                 cmmSources = [],
268                 cSources = [],
269                 cxxSources = [],
270                 jsSources = [],
271                 hsSourceDirs = [],
272                 otherModules = [],
273                 virtualModules = [],
274                 autogenModules = [],
275                 defaultLanguage = Nothing,
276                 otherLanguages = [],
277                 defaultExtensions = [],
278                 otherExtensions = [],
279                 oldExtensions = [],
280                 extraLibs = [],
281                 extraLibsStatic = [],
282                 extraGHCiLibs = [],
283                 extraBundledLibs = [],
284                 extraLibFlavours = [],
285                 extraDynLibFlavours = [],
286                 extraLibDirs = [],
287                 extraLibDirsStatic = [],
288                 includeDirs = [],
289                 includes = [],
290                 autogenIncludes = [],
291                 installIncludes = [],
292                 options = PerCompilerFlavor
293                   []
294                   [],
295                 profOptions = PerCompilerFlavor
296                   []
297                   [],
298                 sharedOptions =
299                 PerCompilerFlavor [] [],
300                 profSharedOptions =
301                 PerCompilerFlavor [] [],
302                 staticOptions =
303                 PerCompilerFlavor [] [],
304                 customFieldsBI = [],
305                 targetBuildDepends = [
306                   Dependency
307                     (PackageName "unix")
308                     (IntersectVersionRanges
309                       (OrLaterVersion
310                         (mkVersion [2, 4, 2, 0]))
311                       (EarlierVersion
312                         (mkVersion [2, 8])))
313                     mainLibSet],
314                 mixins = []}},
315             condTreeConstraints = [
316               Dependency
317                 (PackageName "unix")
318                 (IntersectVersionRanges
319                   (OrLaterVersion
320                     (mkVersion [2, 4, 2, 0]))
321                   (EarlierVersion
322                     (mkVersion [2, 8])))
323                 mainLibSet],
324             condTreeComponents = []},
325           condBranchIfFalse = Nothing},
326         CondBranch {
327           condBranchCondition =
328           `Var (OS Windows)`,
329           condBranchIfTrue = CondNode {
330             condTreeData = Library {
331               libName = LMainLibName,
332               exposedModules = [],
333               reexportedModules = [],
334               signatures = [],
335               libExposed = True,
336               libVisibility =
337               LibraryVisibilityPublic,
338               libBuildInfo = BuildInfo {
339                 buildable = True,
340                 buildTools = [],
341                 buildToolDepends = [],
342                 cppOptions = [],
343                 asmOptions = [],
344                 cmmOptions = [],
345                 ccOptions = [],
346                 cxxOptions = [],
347                 ldOptions = [],
348                 hsc2hsOptions = [],
349                 pkgconfigDepends = [],
350                 frameworks = [],
351                 extraFrameworkDirs = [],
352                 asmSources = [],
353                 cmmSources = [],
354                 cSources = [],
355                 cxxSources = [],
356                 jsSources = [],
357                 hsSourceDirs = [],
358                 otherModules = [],
359                 virtualModules = [],
360                 autogenModules = [],
361                 defaultLanguage = Nothing,
362                 otherLanguages = [],
363                 defaultExtensions = [],
364                 otherExtensions = [],
365                 oldExtensions = [],
366                 extraLibs = [],
367                 extraLibsStatic = [],
368                 extraGHCiLibs = [],
369                 extraBundledLibs = [],
370                 extraLibFlavours = [],
371                 extraDynLibFlavours = [],
372                 extraLibDirs = [],
373                 extraLibDirsStatic = [],
374                 includeDirs = [],
375                 includes = [],
376                 autogenIncludes = [],
377                 installIncludes = [],
378                 options = PerCompilerFlavor
379                   []
380                   [],
381                 profOptions = PerCompilerFlavor
382                   []
383                   [],
384                 sharedOptions =
385                 PerCompilerFlavor [] [],
386                 profSharedOptions =
387                 PerCompilerFlavor [] [],
388                 staticOptions =
389                 PerCompilerFlavor [] [],
390                 customFieldsBI = [],
391                 targetBuildDepends = [
392                   Dependency
393                     (PackageName "Win32")
394                     (IntersectVersionRanges
395                       (OrLaterVersion
396                         (mkVersion [2, 2, 0, 2]))
397                       (EarlierVersion
398                         (mkVersion [2, 7])))
399                     mainLibSet],
400                 mixins = []}},
401             condTreeConstraints = [
402               Dependency
403                 (PackageName "Win32")
404                 (IntersectVersionRanges
405                   (OrLaterVersion
406                     (mkVersion [2, 2, 0, 2]))
407                   (EarlierVersion
408                     (mkVersion [2, 7])))
409                 mainLibSet],
410             condTreeComponents = []},
411           condBranchIfFalse = Nothing},
412         CondBranch {
413           condBranchCondition =
414           `Var (PackageFlag (FlagName "use-pkg-config"))`,
415           condBranchIfTrue = CondNode {
416             condTreeData = Library {
417               libName = LMainLibName,
418               exposedModules = [],
419               reexportedModules = [],
420               signatures = [],
421               libExposed = True,
422               libVisibility =
423               LibraryVisibilityPublic,
424               libBuildInfo = BuildInfo {
425                 buildable = True,
426                 buildTools = [],
427                 buildToolDepends = [],
428                 cppOptions = [],
429                 asmOptions = [],
430                 cmmOptions = [],
431                 ccOptions = [],
432                 cxxOptions = [],
433                 ldOptions = [],
434                 hsc2hsOptions = [],
435                 pkgconfigDepends = [
436                   PkgconfigDependency
437                     (PkgconfigName "libpq")
438                     (PcOrLaterVersion
439                       (PkgconfigVersion "9.3h"))],
440                 frameworks = [],
441                 extraFrameworkDirs = [],
442                 asmSources = [],
443                 cmmSources = [],
444                 cSources = [],
445                 cxxSources = [],
446                 jsSources = [],
447                 hsSourceDirs = [],
448                 otherModules = [],
449                 virtualModules = [],
450                 autogenModules = [],
451                 defaultLanguage = Nothing,
452                 otherLanguages = [],
453                 defaultExtensions = [],
454                 otherExtensions = [],
455                 oldExtensions = [],
456                 extraLibs = [],
457                 extraLibsStatic = [],
458                 extraGHCiLibs = [],
459                 extraBundledLibs = [],
460                 extraLibFlavours = [],
461                 extraDynLibFlavours = [],
462                 extraLibDirs = [],
463                 extraLibDirsStatic = [],
464                 includeDirs = [],
465                 includes = [],
466                 autogenIncludes = [],
467                 installIncludes = [],
468                 options = PerCompilerFlavor
469                   []
470                   [],
471                 profOptions = PerCompilerFlavor
472                   []
473                   [],
474                 sharedOptions =
475                 PerCompilerFlavor [] [],
476                 profSharedOptions =
477                 PerCompilerFlavor [] [],
478                 staticOptions =
479                 PerCompilerFlavor [] [],
480                 customFieldsBI = [],
481                 targetBuildDepends = [],
482                 mixins = []}},
483             condTreeConstraints = [],
484             condTreeComponents = []},
485           condBranchIfFalse = Just
486             CondNode {
487               condTreeData = Library {
488                 libName = LMainLibName,
489                 exposedModules = [],
490                 reexportedModules = [],
491                 signatures = [],
492                 libExposed = True,
493                 libVisibility =
494                 LibraryVisibilityPublic,
495                 libBuildInfo = BuildInfo {
496                   buildable = True,
497                   buildTools = [],
498                   buildToolDepends = [],
499                   cppOptions = [],
500                   asmOptions = [],
501                   cmmOptions = [],
502                   ccOptions = [],
503                   cxxOptions = [],
504                   ldOptions = [],
505                   hsc2hsOptions = [],
506                   pkgconfigDepends = [],
507                   frameworks = [],
508                   extraFrameworkDirs = [],
509                   asmSources = [],
510                   cmmSources = [],
511                   cSources = [],
512                   cxxSources = [],
513                   jsSources = [],
514                   hsSourceDirs = [],
515                   otherModules = [],
516                   virtualModules = [],
517                   autogenModules = [],
518                   defaultLanguage = Nothing,
519                   otherLanguages = [],
520                   defaultExtensions = [],
521                   otherExtensions = [],
522                   oldExtensions = [],
523                   extraLibs = [],
524                   extraLibsStatic = [],
525                   extraGHCiLibs = [],
526                   extraBundledLibs = [],
527                   extraLibFlavours = [],
528                   extraDynLibFlavours = [],
529                   extraLibDirs = [],
530                   extraLibDirsStatic = [],
531                   includeDirs = [],
532                   includes = [],
533                   autogenIncludes = [],
534                   installIncludes = [],
535                   options = PerCompilerFlavor
536                     []
537                     [],
538                   profOptions = PerCompilerFlavor
539                     []
540                     [],
541                   sharedOptions =
542                   PerCompilerFlavor [] [],
543                   profSharedOptions =
544                   PerCompilerFlavor [] [],
545                   staticOptions =
546                   PerCompilerFlavor [] [],
547                   customFieldsBI = [],
548                   targetBuildDepends = [],
549                   mixins = []}},
550               condTreeConstraints = [],
551               condTreeComponents = [
552                 CondBranch {
553                   condBranchCondition =
554                   `Var (OS Windows)`,
555                   condBranchIfTrue = CondNode {
556                     condTreeData = Library {
557                       libName = LMainLibName,
558                       exposedModules = [],
559                       reexportedModules = [],
560                       signatures = [],
561                       libExposed = True,
562                       libVisibility =
563                       LibraryVisibilityPublic,
564                       libBuildInfo = BuildInfo {
565                         buildable = True,
566                         buildTools = [],
567                         buildToolDepends = [],
568                         cppOptions = [],
569                         asmOptions = [],
570                         cmmOptions = [],
571                         ccOptions = [],
572                         cxxOptions = [],
573                         ldOptions = [],
574                         hsc2hsOptions = [],
575                         pkgconfigDepends = [],
576                         frameworks = [],
577                         extraFrameworkDirs = [],
578                         asmSources = [],
579                         cmmSources = [],
580                         cSources = [],
581                         cxxSources = [],
582                         jsSources = [],
583                         hsSourceDirs = [],
584                         otherModules = [],
585                         virtualModules = [],
586                         autogenModules = [],
587                         defaultLanguage = Nothing,
588                         otherLanguages = [],
589                         defaultExtensions = [],
590                         otherExtensions = [],
591                         oldExtensions = [],
592                         extraLibs = ["libpq"],
593                         extraLibsStatic = [],
594                         extraGHCiLibs = [],
595                         extraBundledLibs = [],
596                         extraLibFlavours = [],
597                         extraDynLibFlavours = [],
598                         extraLibDirs = [],
599                         extraLibDirsStatic = [],
600                         includeDirs = [],
601                         includes = [],
602                         autogenIncludes = [],
603                         installIncludes = [],
604                         options = PerCompilerFlavor
605                           []
606                           [],
607                         profOptions = PerCompilerFlavor
608                           []
609                           [],
610                         sharedOptions =
611                         PerCompilerFlavor [] [],
612                         profSharedOptions =
613                         PerCompilerFlavor [] [],
614                         staticOptions =
615                         PerCompilerFlavor [] [],
616                         customFieldsBI = [],
617                         targetBuildDepends = [],
618                         mixins = []}},
619                     condTreeConstraints = [],
620                     condTreeComponents = []},
621                   condBranchIfFalse = Just
622                     CondNode {
623                       condTreeData = Library {
624                         libName = LMainLibName,
625                         exposedModules = [],
626                         reexportedModules = [],
627                         signatures = [],
628                         libExposed = True,
629                         libVisibility =
630                         LibraryVisibilityPublic,
631                         libBuildInfo = BuildInfo {
632                           buildable = True,
633                           buildTools = [],
634                           buildToolDepends = [],
635                           cppOptions = [],
636                           asmOptions = [],
637                           cmmOptions = [],
638                           ccOptions = [],
639                           cxxOptions = [],
640                           ldOptions = [],
641                           hsc2hsOptions = [],
642                           pkgconfigDepends = [],
643                           frameworks = [],
644                           extraFrameworkDirs = [],
645                           asmSources = [],
646                           cmmSources = [],
647                           cSources = [],
648                           cxxSources = [],
649                           jsSources = [],
650                           hsSourceDirs = [],
651                           otherModules = [],
652                           virtualModules = [],
653                           autogenModules = [],
654                           defaultLanguage = Nothing,
655                           otherLanguages = [],
656                           defaultExtensions = [],
657                           otherExtensions = [],
658                           oldExtensions = [],
659                           extraLibs = ["pq"],
660                           extraLibsStatic = [],
661                           extraGHCiLibs = [],
662                           extraBundledLibs = [],
663                           extraLibFlavours = [],
664                           extraDynLibFlavours = [],
665                           extraLibDirs = [],
666                           extraLibDirsStatic = [],
667                           includeDirs = [],
668                           includes = [],
669                           autogenIncludes = [],
670                           installIncludes = [],
671                           options = PerCompilerFlavor
672                             []
673                             [],
674                           profOptions = PerCompilerFlavor
675                             []
676                             [],
677                           sharedOptions =
678                           PerCompilerFlavor [] [],
679                           profSharedOptions =
680                           PerCompilerFlavor [] [],
681                           staticOptions =
682                           PerCompilerFlavor [] [],
683                           customFieldsBI = [],
684                           targetBuildDepends = [],
685                           mixins = []}},
686                       condTreeConstraints = [],
687                       condTreeComponents = [
688                         CondBranch {
689                           condBranchCondition =
690                           `Var (OS OpenBSD)`,
691                           condBranchIfTrue = CondNode {
692                             condTreeData = Library {
693                               libName = LMainLibName,
694                               exposedModules = [],
695                               reexportedModules = [],
696                               signatures = [],
697                               libExposed = True,
698                               libVisibility =
699                               LibraryVisibilityPublic,
700                               libBuildInfo = BuildInfo {
701                                 buildable = True,
702                                 buildTools = [],
703                                 buildToolDepends = [],
704                                 cppOptions = [],
705                                 asmOptions = [],
706                                 cmmOptions = [],
707                                 ccOptions = [],
708                                 cxxOptions = [],
709                                 ldOptions = [],
710                                 hsc2hsOptions = [],
711                                 pkgconfigDepends = [],
712                                 frameworks = [],
713                                 extraFrameworkDirs = [],
714                                 asmSources = [],
715                                 cmmSources = [],
716                                 cSources = [],
717                                 cxxSources = [],
718                                 jsSources = [],
719                                 hsSourceDirs = [],
720                                 otherModules = [],
721                                 virtualModules = [],
722                                 autogenModules = [],
723                                 defaultLanguage = Nothing,
724                                 otherLanguages = [],
725                                 defaultExtensions = [],
726                                 otherExtensions = [],
727                                 oldExtensions = [],
728                                 extraLibs = ["crypto", "ssl"],
729                                 extraLibsStatic = [],
730                                 extraGHCiLibs = [],
731                                 extraBundledLibs = [],
732                                 extraLibFlavours = [],
733                                 extraDynLibFlavours = [],
734                                 extraLibDirs = [],
735                                 extraLibDirsStatic = [],
736                                 includeDirs = [],
737                                 includes = [],
738                                 autogenIncludes = [],
739                                 installIncludes = [],
740                                 options = PerCompilerFlavor
741                                   []
742                                   [],
743                                 profOptions = PerCompilerFlavor
744                                   []
745                                   [],
746                                 sharedOptions =
747                                 PerCompilerFlavor [] [],
748                                 profSharedOptions =
749                                 PerCompilerFlavor [] [],
750                                 staticOptions =
751                                 PerCompilerFlavor [] [],
752                                 customFieldsBI = [],
753                                 targetBuildDepends = [],
754                                 mixins = []}},
755                             condTreeConstraints = [],
756                             condTreeComponents = []},
757                           condBranchIfFalse =
758                           Nothing}]}}]}}]},
759   condSubLibraries = [],
760   condForeignLibs = [],
761   condExecutables = [],
762   condTestSuites = [],
763   condBenchmarks = []}