1
+ { system
2
+ , compiler
3
+ , flags
4
+ , pkgs
5
+ , hsPkgs
6
+ , pkgconfPkgs
7
+ , errorHandler
8
+ , config
9
+ , ... } :
10
+ {
11
+ flags = { ordered-keymap = true ; } ;
12
+ package = {
13
+ specVersion = "2.2" ;
14
+ identifier = { name = "aeson" ; version = "2.2.2.0" ; } ;
15
+ license = "BSD-3-Clause" ;
16
+ copyright = "(c) 2011-2016 Bryan O'Sullivan\n (c) 2011 MailRank, Inc." ;
17
+ maintainer = "Adam Bergmark <[email protected] >" ;
18
+ author = "Bryan O'Sullivan <[email protected] >" ;
19
+ homepage = "https://github.com/haskell/aeson" ;
20
+ url = "" ;
21
+ synopsis = "Fast JSON parsing and encoding" ;
22
+ description = "A JSON parsing and encoding library optimized for ease of use\n and high performance.\n \n To get started, see the documentation for the @Data.Aeson@ module\n below.\n \n (A note on naming: in Greek mythology, Aeson was the father of Jason.)" ;
23
+ buildType = "Simple" ;
24
+ } ;
25
+ components = {
26
+ "library" = {
27
+ depends = [
28
+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
29
+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
30
+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
31
+ ( hsPkgs . "deepseq" or ( errorHandler . buildDepError "deepseq" ) )
32
+ ( hsPkgs . "exceptions" or ( errorHandler . buildDepError "exceptions" ) )
33
+ ( hsPkgs . "ghc-prim" or ( errorHandler . buildDepError "ghc-prim" ) )
34
+ ( hsPkgs . "template-haskell" or ( errorHandler . buildDepError "template-haskell" ) )
35
+ ( hsPkgs . "text" or ( errorHandler . buildDepError "text" ) )
36
+ ( hsPkgs . "time" or ( errorHandler . buildDepError "time" ) )
37
+ ( hsPkgs . "generically" or ( errorHandler . buildDepError "generically" ) )
38
+ ( hsPkgs . "time-compat" or ( errorHandler . buildDepError "time-compat" ) )
39
+ ( hsPkgs . "character-ps" or ( errorHandler . buildDepError "character-ps" ) )
40
+ ( hsPkgs . "data-fix" or ( errorHandler . buildDepError "data-fix" ) )
41
+ ( hsPkgs . "dlist" or ( errorHandler . buildDepError "dlist" ) )
42
+ ( hsPkgs . "hashable" or ( errorHandler . buildDepError "hashable" ) )
43
+ ( hsPkgs . "indexed-traversable" or ( errorHandler . buildDepError "indexed-traversable" ) )
44
+ ( hsPkgs . "integer-conversion" or ( errorHandler . buildDepError "integer-conversion" ) )
45
+ ( hsPkgs . "integer-logarithms" or ( errorHandler . buildDepError "integer-logarithms" ) )
46
+ ( hsPkgs . "network-uri" or ( errorHandler . buildDepError "network-uri" ) )
47
+ ( hsPkgs . "OneTuple" or ( errorHandler . buildDepError "OneTuple" ) )
48
+ ( hsPkgs . "primitive" or ( errorHandler . buildDepError "primitive" ) )
49
+ ( hsPkgs . "QuickCheck" or ( errorHandler . buildDepError "QuickCheck" ) )
50
+ ( hsPkgs . "scientific" or ( errorHandler . buildDepError "scientific" ) )
51
+ ( hsPkgs . "semialign" or ( errorHandler . buildDepError "semialign" ) )
52
+ ( hsPkgs . "strict" or ( errorHandler . buildDepError "strict" ) )
53
+ ( hsPkgs . "tagged" or ( errorHandler . buildDepError "tagged" ) )
54
+ ( hsPkgs . "text-iso8601" or ( errorHandler . buildDepError "text-iso8601" ) )
55
+ ( hsPkgs . "text-short" or ( errorHandler . buildDepError "text-short" ) )
56
+ ( hsPkgs . "th-abstraction" or ( errorHandler . buildDepError "th-abstraction" ) )
57
+ ( hsPkgs . "these" or ( errorHandler . buildDepError "these" ) )
58
+ ( hsPkgs . "unordered-containers" or ( errorHandler . buildDepError "unordered-containers" ) )
59
+ ( hsPkgs . "uuid-types" or ( errorHandler . buildDepError "uuid-types" ) )
60
+ ( hsPkgs . "vector" or ( errorHandler . buildDepError "vector" ) )
61
+ ( hsPkgs . "witherable" or ( errorHandler . buildDepError "witherable" ) )
62
+ ] ++ pkgs . lib . optional ( ! ( compiler . isGhc && compiler . version . ge "9.0" ) ) ( hsPkgs . "integer-gmp" or ( errorHandler . buildDepError "integer-gmp" ) ) ;
63
+ buildable = true ;
64
+ } ;
65
+ tests = {
66
+ "aeson-tests" = {
67
+ depends = ( [
68
+ ( hsPkgs . "aeson" or ( errorHandler . buildDepError "aeson" ) )
69
+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
70
+ ( hsPkgs . "base-compat" or ( errorHandler . buildDepError "base-compat" ) )
71
+ ( hsPkgs . "base-orphans" or ( errorHandler . buildDepError "base-orphans" ) )
72
+ ( hsPkgs . "base16-bytestring" or ( errorHandler . buildDepError "base16-bytestring" ) )
73
+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
74
+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
75
+ ( hsPkgs . "data-fix" or ( errorHandler . buildDepError "data-fix" ) )
76
+ ( hsPkgs . "deepseq" or ( errorHandler . buildDepError "deepseq" ) )
77
+ ( hsPkgs . "Diff" or ( errorHandler . buildDepError "Diff" ) )
78
+ ( hsPkgs . "directory" or ( errorHandler . buildDepError "directory" ) )
79
+ ( hsPkgs . "dlist" or ( errorHandler . buildDepError "dlist" ) )
80
+ ( hsPkgs . "filepath" or ( errorHandler . buildDepError "filepath" ) )
81
+ ( hsPkgs . "generic-deriving" or ( errorHandler . buildDepError "generic-deriving" ) )
82
+ ( hsPkgs . "generically" or ( errorHandler . buildDepError "generically" ) )
83
+ ( hsPkgs . "ghc-prim" or ( errorHandler . buildDepError "ghc-prim" ) )
84
+ ( hsPkgs . "hashable" or ( errorHandler . buildDepError "hashable" ) )
85
+ ( hsPkgs . "indexed-traversable" or ( errorHandler . buildDepError "indexed-traversable" ) )
86
+ ( hsPkgs . "integer-logarithms" or ( errorHandler . buildDepError "integer-logarithms" ) )
87
+ ( hsPkgs . "network-uri" or ( errorHandler . buildDepError "network-uri" ) )
88
+ ( hsPkgs . "OneTuple" or ( errorHandler . buildDepError "OneTuple" ) )
89
+ ( hsPkgs . "primitive" or ( errorHandler . buildDepError "primitive" ) )
90
+ ( hsPkgs . "QuickCheck" or ( errorHandler . buildDepError "QuickCheck" ) )
91
+ ( hsPkgs . "quickcheck-instances" or ( errorHandler . buildDepError "quickcheck-instances" ) )
92
+ ( hsPkgs . "scientific" or ( errorHandler . buildDepError "scientific" ) )
93
+ ( hsPkgs . "strict" or ( errorHandler . buildDepError "strict" ) )
94
+ ( hsPkgs . "tagged" or ( errorHandler . buildDepError "tagged" ) )
95
+ ( hsPkgs . "tasty" or ( errorHandler . buildDepError "tasty" ) )
96
+ ( hsPkgs . "tasty-golden" or ( errorHandler . buildDepError "tasty-golden" ) )
97
+ ( hsPkgs . "tasty-hunit" or ( errorHandler . buildDepError "tasty-hunit" ) )
98
+ ( hsPkgs . "tasty-quickcheck" or ( errorHandler . buildDepError "tasty-quickcheck" ) )
99
+ ( hsPkgs . "template-haskell" or ( errorHandler . buildDepError "template-haskell" ) )
100
+ ( hsPkgs . "text" or ( errorHandler . buildDepError "text" ) )
101
+ ( hsPkgs . "text-short" or ( errorHandler . buildDepError "text-short" ) )
102
+ ( hsPkgs . "these" or ( errorHandler . buildDepError "these" ) )
103
+ ( hsPkgs . "time" or ( errorHandler . buildDepError "time" ) )
104
+ ( hsPkgs . "time-compat" or ( errorHandler . buildDepError "time-compat" ) )
105
+ ( hsPkgs . "unordered-containers" or ( errorHandler . buildDepError "unordered-containers" ) )
106
+ ( hsPkgs . "uuid-types" or ( errorHandler . buildDepError "uuid-types" ) )
107
+ ( hsPkgs . "vector" or ( errorHandler . buildDepError "vector" ) )
108
+ ] ++ pkgs . lib . optional ( ! ( compiler . isGhc && compiler . version . ge "9.0" ) ) ( hsPkgs . "integer-gmp" or ( errorHandler . buildDepError "integer-gmp" ) ) ) ++ pkgs . lib . optional ( compiler . isGhc && ( compiler . version . ge "9.2" && compiler . version . lt "9.7" ) ) ( hsPkgs . "nothunks" or ( errorHandler . buildDepError "nothunks" ) ) ;
109
+ buildable = true ;
110
+ } ;
111
+ } ;
112
+ } ;
113
+ }
0 commit comments