Skip to content

Commit 928c836

Browse files
committed
test: update expected
1 parent 17a6bc6 commit 928c836

File tree

2 files changed

+455
-0
lines changed

2 files changed

+455
-0
lines changed
Lines changed: 390 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,390 @@
1+
GenericPackageDescription' {
2+
packageDescriptionInternal =
3+
PackageDescription {
4+
specVersion = CabalSpecV2_2,
5+
package = PackageIdentifier {
6+
pkgName = PackageName
7+
"supervisors",
8+
pkgVersion = mkVersion
9+
[0, 2, 1, 0]},
10+
licenseRaw = Left
11+
(License
12+
(ELicense
13+
(ELicenseId MIT)
14+
Nothing)),
15+
licenseFiles = [
16+
SymbolicPath "LICENSE"],
17+
copyright = "2018 Ian Denhardt",
18+
maintainer = "[email protected]",
19+
author = "Ian Denhardt",
20+
stability = "Experimental",
21+
testedWith = [],
22+
homepage =
23+
"https://github.com/zenhack/haskell-supervisors",
24+
pkgUrl = "",
25+
bugReports =
26+
"https://github.com/zenhack/haskell-supervisors/issues",
27+
sourceRepos = [
28+
SourceRepo {
29+
repoKind = RepoHead,
30+
repoType = Just
31+
(KnownRepoType Git),
32+
repoLocation = Just
33+
"https://github.com/zenhack/haskell-supervisors.git",
34+
repoModule = Nothing,
35+
repoBranch = Just "master",
36+
repoTag = Nothing,
37+
repoSubdir = Nothing}],
38+
synopsis =
39+
"Monitor groups of threads with non-hierarchical lifetimes.",
40+
description =
41+
concat
42+
[
43+
"The @supervisors@ package provides a useful abstraction for managing the\n",
44+
"groups of Haskell threads, which may not have a strictly hierarchical\n",
45+
"structure to their lifetimes.\n",
46+
"\n",
47+
"Concretely, the library provides a `Supervisor` construct, which can be\n",
48+
"used to safely spawn threads while guaranteeing that:\n",
49+
"\n",
50+
"* When the supervisor is killed, all of the threads it supervises will be\n",
51+
"killed.\n",
52+
"* Child threads can terminate in any order, and memory usage will always\n",
53+
"be proportional to the number of *live* supervised threads.\n",
54+
"\n",
55+
"One way to think of it is that @supervisors@ is to @async@ as\n",
56+
"@resourcet@ is to @bracket@.\n",
57+
"\n",
58+
"Note that this package is EXPERIMENTAL; it needs more careful testing before\n",
59+
"I can earnestly recommend relying on it.\n",
60+
"\n",
61+
"See the README and module documentation for more information."],
62+
category = "Concurrency",
63+
customFieldsPD = [],
64+
buildTypeRaw = Just Simple,
65+
setupBuildInfo = Nothing,
66+
library = Nothing,
67+
subLibraries = [],
68+
executables = [],
69+
foreignLibs = [],
70+
testSuites = [],
71+
benchmarks = [],
72+
dataFiles = [],
73+
dataDir = SymbolicPath ".",
74+
extraSrcFiles = [
75+
SymbolicPath "CHANGELOG.md",
76+
SymbolicPath "README.md",
77+
SymbolicPath ".gitignore"],
78+
extraTmpFiles = [],
79+
extraDocFiles = [],
80+
extraFiles = []},
81+
gpdScannedVersionInternal =
82+
Nothing,
83+
genPackageFlagsInternal = [],
84+
gpdCommonStanzas = Map.fromList
85+
[
86+
_×_
87+
"shared-opts"
88+
CondNode {
89+
condTreeData = WithImports {
90+
getImportNames = [],
91+
unImportNames = BuildInfo {
92+
buildable = True,
93+
buildTools = [],
94+
buildToolDepends = [],
95+
cppOptions = [],
96+
asmOptions = [],
97+
cmmOptions = [],
98+
ccOptions = [],
99+
cxxOptions = [],
100+
jsppOptions = [],
101+
ldOptions = [],
102+
hsc2hsOptions = [],
103+
pkgconfigDepends = [],
104+
frameworks = [],
105+
extraFrameworkDirs = [],
106+
asmSources = [],
107+
cmmSources = [],
108+
cSources = [],
109+
cxxSources = [],
110+
jsSources = [],
111+
hsSourceDirs = [],
112+
otherModules = [],
113+
virtualModules = [],
114+
autogenModules = [],
115+
defaultLanguage = Nothing,
116+
otherLanguages = [],
117+
defaultExtensions = [],
118+
otherExtensions = [],
119+
oldExtensions = [],
120+
extraLibs = [],
121+
extraLibsStatic = [],
122+
extraGHCiLibs = [],
123+
extraBundledLibs = [],
124+
extraLibFlavours = [],
125+
extraDynLibFlavours = [],
126+
extraLibDirs = [],
127+
extraLibDirsStatic = [],
128+
includeDirs = [],
129+
includes = [],
130+
autogenIncludes = [],
131+
installIncludes = [],
132+
options = PerCompilerFlavor
133+
[]
134+
[],
135+
profOptions = PerCompilerFlavor
136+
[]
137+
[],
138+
sharedOptions =
139+
PerCompilerFlavor [] [],
140+
profSharedOptions =
141+
PerCompilerFlavor [] [],
142+
staticOptions =
143+
PerCompilerFlavor [] [],
144+
customFieldsBI = [],
145+
targetBuildDepends = [
146+
Dependency
147+
(PackageName "base")
148+
(IntersectVersionRanges
149+
(OrLaterVersion
150+
(mkVersion [4, 11]))
151+
(EarlierVersion
152+
(mkVersion [5])))
153+
mainLibSet],
154+
mixins = []}},
155+
condTreeConstraints = [
156+
Dependency
157+
(PackageName "base")
158+
(IntersectVersionRanges
159+
(OrLaterVersion
160+
(mkVersion [4, 11]))
161+
(EarlierVersion
162+
(mkVersion [5])))
163+
mainLibSet],
164+
condTreeComponents = []}],
165+
condLibraryUnmerged = Just
166+
CondNode {
167+
condTreeData = WithImports {
168+
getImportNames = [
169+
"shared-opts"],
170+
unImportNames = Library {
171+
libName = LMainLibName,
172+
exposedModules = [
173+
ModuleName "Supervisors"],
174+
reexportedModules = [],
175+
signatures = [],
176+
libExposed = True,
177+
libVisibility =
178+
LibraryVisibilityPublic,
179+
libBuildInfo = BuildInfo {
180+
buildable = True,
181+
buildTools = [],
182+
buildToolDepends = [],
183+
cppOptions = [],
184+
asmOptions = [],
185+
cmmOptions = [],
186+
ccOptions = [],
187+
cxxOptions = [],
188+
jsppOptions = [],
189+
ldOptions = [],
190+
hsc2hsOptions = [],
191+
pkgconfigDepends = [],
192+
frameworks = [],
193+
extraFrameworkDirs = [],
194+
asmSources = [],
195+
cmmSources = [],
196+
cSources = [],
197+
cxxSources = [],
198+
jsSources = [],
199+
hsSourceDirs = [
200+
SymbolicPath "src/"],
201+
otherModules = [],
202+
virtualModules = [],
203+
autogenModules = [],
204+
defaultLanguage = Just
205+
Haskell2010,
206+
otherLanguages = [],
207+
defaultExtensions = [],
208+
otherExtensions = [],
209+
oldExtensions = [],
210+
extraLibs = [],
211+
extraLibsStatic = [],
212+
extraGHCiLibs = [],
213+
extraBundledLibs = [],
214+
extraLibFlavours = [],
215+
extraDynLibFlavours = [],
216+
extraLibDirs = [],
217+
extraLibDirsStatic = [],
218+
includeDirs = [],
219+
includes = [],
220+
autogenIncludes = [],
221+
installIncludes = [],
222+
options = PerCompilerFlavor
223+
[]
224+
[],
225+
profOptions = PerCompilerFlavor
226+
[]
227+
[],
228+
sharedOptions =
229+
PerCompilerFlavor [] [],
230+
profSharedOptions =
231+
PerCompilerFlavor [] [],
232+
staticOptions =
233+
PerCompilerFlavor [] [],
234+
customFieldsBI = [],
235+
targetBuildDepends = [
236+
Dependency
237+
(PackageName "stm")
238+
(MajorBoundVersion
239+
(mkVersion [2, 5]))
240+
mainLibSet,
241+
Dependency
242+
(PackageName "containers")
243+
(IntersectVersionRanges
244+
(OrLaterVersion
245+
(mkVersion [0, 5, 9]))
246+
(EarlierVersion
247+
(mkVersion [0, 7])))
248+
mainLibSet,
249+
Dependency
250+
(PackageName "safe-exceptions")
251+
(MajorBoundVersion
252+
(mkVersion [0, 1, 7]))
253+
mainLibSet,
254+
Dependency
255+
(PackageName "async")
256+
(MajorBoundVersion
257+
(mkVersion [2, 2, 1]))
258+
mainLibSet],
259+
mixins = []}}},
260+
condTreeConstraints = [
261+
Dependency
262+
(PackageName "stm")
263+
(MajorBoundVersion
264+
(mkVersion [2, 5]))
265+
mainLibSet,
266+
Dependency
267+
(PackageName "containers")
268+
(IntersectVersionRanges
269+
(OrLaterVersion
270+
(mkVersion [0, 5, 9]))
271+
(EarlierVersion
272+
(mkVersion [0, 7])))
273+
mainLibSet,
274+
Dependency
275+
(PackageName "safe-exceptions")
276+
(MajorBoundVersion
277+
(mkVersion [0, 1, 7]))
278+
mainLibSet,
279+
Dependency
280+
(PackageName "async")
281+
(MajorBoundVersion
282+
(mkVersion [2, 2, 1]))
283+
mainLibSet],
284+
condTreeComponents = []},
285+
condSubLibrariesUnmerged = [],
286+
condForeignLibsUnmerged = [],
287+
condExecutablesUnmerged = [],
288+
condTestSuitesUnmerged = [
289+
_×_
290+
(UnqualComponentName "tests")
291+
CondNode {
292+
condTreeData = WithImports {
293+
getImportNames = [
294+
"shared-opts"],
295+
unImportNames =
296+
TestSuiteStanza {
297+
_testStanzaTestType = Just
298+
(TestTypeExe
299+
(mkVersion [1, 0])),
300+
_testStanzaMainIs = Just
301+
(SymbolicPath "Main.hs"),
302+
_testStanzaTestModule = Nothing,
303+
_testStanzaBuildInfo =
304+
BuildInfo {
305+
buildable = True,
306+
buildTools = [],
307+
buildToolDepends = [],
308+
cppOptions = [],
309+
asmOptions = [],
310+
cmmOptions = [],
311+
ccOptions = [],
312+
cxxOptions = [],
313+
jsppOptions = [],
314+
ldOptions = [],
315+
hsc2hsOptions = [],
316+
pkgconfigDepends = [],
317+
frameworks = [],
318+
extraFrameworkDirs = [],
319+
asmSources = [],
320+
cmmSources = [],
321+
cSources = [],
322+
cxxSources = [],
323+
jsSources = [],
324+
hsSourceDirs = [
325+
SymbolicPath "tests/"],
326+
otherModules = [],
327+
virtualModules = [],
328+
autogenModules = [],
329+
defaultLanguage = Just
330+
Haskell2010,
331+
otherLanguages = [],
332+
defaultExtensions = [],
333+
otherExtensions = [],
334+
oldExtensions = [],
335+
extraLibs = [],
336+
extraLibsStatic = [],
337+
extraGHCiLibs = [],
338+
extraBundledLibs = [],
339+
extraLibFlavours = [],
340+
extraDynLibFlavours = [],
341+
extraLibDirs = [],
342+
extraLibDirsStatic = [],
343+
includeDirs = [],
344+
includes = [],
345+
autogenIncludes = [],
346+
installIncludes = [],
347+
options = PerCompilerFlavor
348+
[]
349+
[],
350+
profOptions = PerCompilerFlavor
351+
[]
352+
[],
353+
sharedOptions =
354+
PerCompilerFlavor [] [],
355+
profSharedOptions =
356+
PerCompilerFlavor [] [],
357+
staticOptions =
358+
PerCompilerFlavor [] [],
359+
customFieldsBI = [],
360+
targetBuildDepends = [
361+
Dependency
362+
(PackageName "supervisors")
363+
(OrLaterVersion (mkVersion [0]))
364+
mainLibSet,
365+
Dependency
366+
(PackageName "hspec")
367+
(IntersectVersionRanges
368+
(OrLaterVersion
369+
(mkVersion [2, 6, 0]))
370+
(EarlierVersion
371+
(mkVersion [2, 8])))
372+
mainLibSet],
373+
mixins = []},
374+
_testStanzaCodeGenerators = [
375+
]}},
376+
condTreeConstraints = [
377+
Dependency
378+
(PackageName "supervisors")
379+
(OrLaterVersion (mkVersion [0]))
380+
mainLibSet,
381+
Dependency
382+
(PackageName "hspec")
383+
(IntersectVersionRanges
384+
(OrLaterVersion
385+
(mkVersion [2, 6, 0]))
386+
(EarlierVersion
387+
(mkVersion [2, 8])))
388+
mainLibSet],
389+
condTreeComponents = []}],
390+
condBenchmarksUnmerged = []}

0 commit comments

Comments
 (0)