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 -- https://github.com/meteficha/crypto-conduit/issues/16
64 -- Unfortunately network failures seem to happen haphazardly
67 -- https://github.com/ekmett/hyphenation/issues/1
70 -- Test suite takes too long to run on some systems
73 -- https://github.com/vincenthz/hit/issues/4
77-- | List of packages for our stable Hackage. All dependencies will be
78-- included as well. Please indicate who will be maintaining the package
80defaultStablePackages :: Map PackageName (VersionRange, Maintainer)
81defaultStablePackages = unPackageMap $ execWriter $ do
82 mapM_ (add "michael@snoyman.com") $ words =<<
83 [ "yesod yesod-newsfeed yesod-sitemap yesod-static yesod-test"
84 , "markdown filesystem-conduit mime-mail-ses"
85 , "persistent persistent-template persistent-sqlite"
86 , "network-conduit-tls yackage keter"
89 mapM_ (add "Neil Mitchell") $ words
92 mapM_ (add "Alan Zimmerman") $ words
93 "hjsmin language-javascript"
95 mapM_ (add "Jasper Van der Jeugt") $ words
96 "blaze-html blaze-markup stylish-haskell"
98 mapM_ (add "Antoine Latter") $ words
101 mapM_ (add "Stefan Wehr <wehr@factisresearch.com>") $ words
102 "HTF hscurses xmlgen stm-stats"
104 mapM_ (add "Bart Massey <bart.massey+stackage@gmail.com>") $ words
107 mapM_ (add "Vincent Hanquez") $ words =<<
108 [ "asn1-data bytedump certificate cipher-aes cipher-rc4 connection"
109 , "cprng-aes cpu crypto-pubkey-types crypto-random-api cryptocipher"
110 , "cryptohash hit language-java libgit pem siphash socks tls"
111 , "tls-debug tls-extra udbus vhd xenstore"
114 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
115 [ "ad adjunctions bifunctors bound categories charset comonad comonad-transformers"
116 , "comonads-fd comonad-extras compressed concurrent-supply constraints contravariant"
117 , "distributive either eq free groupoids heaps hyphenation"
118 , "integration intervals kan-extensions lca lens linear monadic-arrays machines"
119 , "mtl profunctors profunctor-extras reducers reflection"
120 , "representable-functors representable-tries"
121 , "semigroups semigroupoids semigroupoid-extras speculation tagged void"
122 , "graphs monad-products monad-st wl-pprint-extras wl-pprint-terminfo"
123 , "numeric-extras parsers pointed prelude-extras recursion-schemes reducers"
124 , "streams syb-extras vector-instances"
127 mapM_ (add "Simon Hengel <sol@typeful.net>") $ words
128 "hspec doctest base-compat"
130 mapM_ (add "Brent Yorgey <byorgey@gmail.com>") $ words =<<
131 [ "monoid-extras dual-tree vector-space-points active force-layout"
132 , "diagrams diagrams-contrib diagrams-core diagrams-lib diagrams-svg"
133 , "diagrams-postscript diagrams-builder haxr"
135 -- https://github.com/fpco/stackage/issues/44
136 -- BlogLiterately BlogLiterately-diagrams
138 mapM_ (add "Patrick Brisbin") $ words "gravatar"
140 add maintainer package = addRange maintainer package "-any"
141 addRange maintainer package range =
142 case simpleParse range of
143 Nothing -> error $ "Invalid range " ++ show range ++ " for " ++ package
144 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