2module Stackage.Config where
4import Control.Monad.Trans.Writer (execWriter, tell)
5import qualified Data.Map as Map
6import Data.Set (fromList, singleton)
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/unix-time/issues/4
45 -- https://github.com/kazu-yamamoto/simple-sendfile/pull/10
48 -- Michael emailed Dominic about bumping version numbers, but no new
49 -- release has yet been made.
53-- | List of packages for our stable Hackage. All dependencies will be
54-- included as well. Please indicate who will be maintaining the package
56defaultStablePackages :: Map PackageName (VersionRange, Maintainer)
57defaultStablePackages = execWriter $ do
58 mapM_ (add "michael@snoyman.com") $ words
59 "yesod yesod-newsfeed yesod-sitemap yesod-static yesod-test markdown filesystem-conduit mime-mail-ses"
61 mapM_ (add "Neil Mitchell") $ words
64 mapM_ (add "Alan Zimmerman") $ words
65 "hjsmin language-javascript"
67 mapM_ (add "Jasper Van der Jeugt") $ words
68 "blaze-html blaze-markup stylish-haskell"
70 mapM_ (add "Antoine Latter") $ words
73 mapM_ (add "Stefan Wehr <wehr@factisresearch.com>") $ words
74 "HTF hscurses xmlgen stm-stats"
76 mapM_ (add "Bart Massey <bart.massey+stackage@gmail.com>") $ words
79 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
80 [ "ad adjunctions bifunctors bound categories charset comonad comonad-transformers"
81 , "comonads-fd comonad-extras compressed concurrent-supply constraints contravariant"
82 , "distributive either eq free groupoids heaps hyphenation"
83 , "integration intervals kan-extensions lca lens linear monadic-arrays machines"
84 , "mtl profunctors profunctor-extras reducers reflection"
85 , "representable-functors representable-profunctors representable-tries"
86 , "semigroups semigroupoids semigroupoid-extras speculation tagged void"
87 , "wl-pprint-extras wl-pprint-terminfo graphs monad-products monad-st"
88 , "numeric-extras parsers pointed prelude-extras recursion-schemes reducers"
89 , "streams syb-extras vector-instances"
92 mapM_ (add "Simon Hengel <sol@typeful.net>") $ words
93 "hspec doctest base-compat"
95 add maintainer package = addRange maintainer package "-any"
96 addRange maintainer package range =
97 case simpleParse range of
98 Nothing -> error $ "Invalid range " ++ show range ++ " for " ++ package
99 Just range' -> tell $ 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