2module Stackage.Config where
4import Control.Monad.Trans.Writer (execWriter, tell)
5import qualified Data.Map as Map
6import Data.Set (fromList)
7import Distribution.Text (simpleParse)
10targetCompilerVersion :: Version
11targetCompilerVersion =
12 case simpleParse "7.4.2" of
13 Nothing -> error "Invalid targetCompilerVersion"
16-- | Packages which are shipped with GHC but are not included in the
17-- Haskell Platform list of core packages.
18defaultExtraCore :: Set PackageName
19defaultExtraCore = fromList $ map PackageName $ words
22-- | Test suites which are expected to fail for some reason. The test suite
23-- will still be run and logs kept, but a failure will not indicate an
24-- error in our package combination.
25defaultExpectedFailures :: Set PackageName
26defaultExpectedFailures = fromList $ map PackageName
27 [ -- Requires an old version of WAI and Warp for tests
30 -- text and setenv have recursive dependencies in their tests, which
31 -- cabal can't (yet) handle
35 -- The version of GLUT included with the HP does not generate
36 -- documentation correctly.
39 -- https://github.com/bos/statistics/issues/42
42 -- https://github.com/kazu-yamamoto/simple-sendfile/pull/10
45 -- http://hackage.haskell.org/trac/hackage/ticket/954
48 -- https://github.com/fpco/stackage/issues/24
51 -- With transformers 0.3, it doesn't provide any modules
52 , "transformers-compat"
54 -- Tests require shell script and are incompatible with sandboxed package
58 -- https://github.com/simonmar/monad-par/issues/28
61 -- Unfortunately network failures seem to happen haphazardly
64 -- https://github.com/ekmett/hyphenation/issues/1
67 -- Test suite takes too long to run on some systems
70 -- http://hub.darcs.net/stepcut/happstack/issue/1
73 -- Requires a Facebook app.
76 -- https://github.com/tibbe/hashable/issues/64
79 -- https://github.com/vincenthz/language-java/issues/10
85 , "language-ecmascript"
89-- | List of packages for our stable Hackage. All dependencies will be
90-- included as well. Please indicate who will be maintaining the package
92defaultStablePackages :: Map PackageName (VersionRange, Maintainer)
93defaultStablePackages = unPackageMap $ execWriter $ do
94 mapM_ (add "michael@snoyman.com") $ words =<<
95 [ "yesod yesod-newsfeed yesod-sitemap yesod-static yesod-test yesod-bin"
96 , "markdown filesystem-conduit mime-mail-ses"
97 , "persistent persistent-template persistent-sqlite"
98 , "network-conduit-tls yackage" -- Removed until keter supports non-Linux systems: keter
99 , "shakespeare-text process-conduit stm-conduit"
100 , "classy-prelude-yesod yesod-fay"
104 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
105 [ "web-fpco th-expand-syns configurator compdata smtLib unification-fd"
106 , "fixed-list indents language-c pretty-class"
108 addRange "FP Complete <michael@fpcomplete.com>" "kure" "<= 2.4.10"
110 mapM_ (add "Neil Mitchell") $ words
113 mapM_ (add "Alan Zimmerman") $ words
114 "hjsmin language-javascript"
116 mapM_ (add "Jasper Van der Jeugt") $ words
117 "blaze-html blaze-markup stylish-haskell"
119 mapM_ (add "Antoine Latter") $ words
122 mapM_ (add "Stefan Wehr <wehr@factisresearch.com>") $ words
123 "HTF hscurses xmlgen stm-stats"
125 mapM_ (add "Bart Massey <bart.massey+stackage@gmail.com>") $ words
128 mapM_ (add "Vincent Hanquez") $ words =<<
129 [ "asn1-data bytedump certificate cipher-aes cipher-rc4 connection"
130 , "cprng-aes cpu crypto-pubkey-types crypto-random-api cryptocipher"
131 , "cryptohash hit language-java libgit pem siphash socks tls"
132 , "tls-debug tls-extra udbus vhd xenstore"
135 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
136 [ "ad adjunctions bifunctors bound categories charset comonad comonad-transformers"
137 , "comonads-fd comonad-extras compressed concurrent-supply constraints contravariant"
138 , "distributive either eq free groupoids heaps hyphenation"
139 , "integration intervals kan-extensions lca lens linear monadic-arrays machines"
140 , "mtl profunctors profunctor-extras reducers reflection"
141 , "representable-functors representable-tries"
142 , "semigroups semigroupoids semigroupoid-extras speculation tagged void"
143 , "graphs monad-products monad-st wl-pprint-extras wl-pprint-terminfo"
144 , "numeric-extras parsers pointed prelude-extras recursion-schemes reducers"
145 , "streams syb-extras vector-instances"
148 mapM_ (add "Simon Hengel <sol@typeful.net>") $ words
149 "hspec doctest base-compat"
151 mapM_ (add "Brent Yorgey <byorgey@gmail.com>") $ words =<<
152 [ "monoid-extras dual-tree vector-space-points active force-layout"
153 , "diagrams diagrams-contrib diagrams-core diagrams-lib diagrams-svg"
154 , "diagrams-postscript diagrams-builder diagrams-haddock haxr"
155 , "BlogLiterately BlogLiterately-diagrams"
158 mapM_ (add "Patrick Brisbin") $ words "gravatar"
160 mapM_ (add "Felipe Lessa <felipe.lessa@gmail.com>") $ words
161 "esqueleto fb fb-persistent yesod-fb yesod-auth-fb"
163 mapM_ (add "Alexander Altman <alexanderaltman@me.com>") $ words
164 "base-unicode-symbols containers-unicode-symbols"
166 -- https://github.com/fpco/stackage/issues/46
167 addRange "Michael Snoyman" "QuickCheck" "< 2.6"
168 addRange "Michael Snoyman" "syb" "< 0.4"
170 -- https://github.com/fpco/stackage/issues/63
171 addRange "Michael Snoyman" "NumInstances" "< 1.3"
173 -- https://github.com/fpco/stackage/issues/68
174 addRange "Michael Snoyman" "criterion" "< 0.8"
176 -- https://github.com/fpco/stackage/issues/70
177 addRange "Michael Snoyman" "monoid-extras" "< 0.3"
179 -- https://github.com/fpco/stackage/issues/72
180 addRange "Michael Snoyman" "HaXml" "< 1.24"
181 addRange "Michael Snoyman" "crypto-pubkey-types" "< 0.4"
182 addRange "Michael Snoyman" "crypto-pubkey" "< 0.1.4"
183 addRange "Michael Snoyman" "asn1-types" "< 0.2"
184 addRange "Michael Snoyman" "tls-extra" "< 0.6.3"
186 -- Due to binary package dep
187 addRange "Michael Snoyman" "statistics" "< 0.10.4"
189 add maintainer package = addRange maintainer package "-any"
190 addRange maintainer package range =
191 case simpleParse range of
192 Nothing -> error $ "Invalid range " ++ show range ++ " for " ++ package
193 Just range' -> tell $ PackageMap $ Map.singleton (PackageName package) (range', Maintainer maintainer)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list