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 = singleton $ PackageName "binary"
21-- | Test suites which are expected to fail for some reason. The test suite
22-- will still be run and logs kept, but a failure will not indicate an
23-- error in our package combination.
24defaultExpectedFailures :: Set PackageName
25defaultExpectedFailures = fromList $ map PackageName
26 [ -- Requires an old version of WAI and Warp for tests
29 -- text and setenv have recursive dependencies in their tests, which
30 -- cabal can't (yet) handle
34 -- The version of GLUT included with the HP does not generate
35 -- documentation correctly.
38 -- https://github.com/bos/statistics/issues/42
41 -- https://github.com/kazu-yamamoto/unix-time/issues/4
44 -- https://github.com/kazu-yamamoto/simple-sendfile/pull/10
47 -- Michael emailed Dominic about bumping version numbers, but no new
48 -- release has yet been made.
52-- | List of packages for our stable Hackage. All dependencies will be
53-- included as well. Please indicate who will be maintaining the package
55defaultStablePackages :: Map PackageName (VersionRange, Maintainer)
56defaultStablePackages = execWriter $ do
57 mapM_ (add "michael@snoyman.com") $ words
58 "yesod yesod-newsfeed yesod-sitemap yesod-static yesod-test markdown filesystem-conduit mime-mail-ses"
60 mapM_ (add "Neil Mitchell") $ words
63 mapM_ (add "Alan Zimmerman") $ words
64 "hjsmin language-javascript"
66 mapM_ (add "Jasper Van der Jeugt") $ words
67 "blaze-html blaze-markup stylish-haskell"
69 mapM_ (add "Antoine Latter") $ words
72 add maintainer package = addRange maintainer package "-any"
73 addRange maintainer package range =
74 case simpleParse range of
75 Nothing -> error $ "Invalid range " ++ show range ++ " for " ++ package
76 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