2module Stackage.Config where
4import Control.Monad (when, unless)
5import Control.Monad.Trans.Writer (Writer, execWriter, tell)
6import Data.Char (toLower)
7import qualified Data.Map as Map
8import Data.Maybe (fromMaybe)
9import Data.Set (fromList, singleton)
10import Distribution.Text (simpleParse)
13-- | Packages which are shipped with GHC but are not included in the
14-- Haskell Platform list of core packages.
15defaultExtraCore :: GhcMajorVersion -> Set PackageName
16defaultExtraCore _ = fromList $ map PackageName $ words
17 "binary Win32 ghc-prim integer-gmp"
19-- | Test suites which are expected to fail for some reason. The test suite
20-- will still be run and logs kept, but a failure will not indicate an
21-- error in our package combination.
22defaultExpectedFailures :: GhcMajorVersion
23 -> Bool -- ^ haskell platform
25defaultExpectedFailures ghcVer requireHP = execWriter $ do
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/simple-sendfile/pull/10
44 -- http://hackage.haskell.org/trac/hackage/ticket/954
47 -- https://github.com/fpco/stackage/issues/24
50 -- With transformers 0.3, it doesn't provide any modules
51 add "transformers-compat"
53 -- Tests require shell script and are incompatible with sandboxed package
57 -- https://github.com/simonmar/monad-par/issues/28
60 -- Unfortunately network failures seem to happen haphazardly
63 -- https://github.com/ekmett/hyphenation/issues/1
66 -- Test suite takes too long to run on some systems
69 -- http://hub.darcs.net/stepcut/happstack/issue/1
70 add "happstack-server"
72 -- Requires a Facebook app.
75 -- https://github.com/tibbe/hashable/issues/64
78 -- https://github.com/vincenthz/language-java/issues/10
84 add "language-ecmascript"
88 -- https://github.com/basvandijk/concurrent-extra/issues/
89 add "concurrent-extra"
91 -- https://github.com/skogsbaer/xmlgen/issues/2
94 -- Something very strange going on with the test suite, I can't figure
98 -- Requires a locally running PostgreSQL server with appropriate users
99 add "postgresql-simple"
104 -- Some kind of Cabal bug when trying to run tests
109 -- https://github.com/jgm/pandoc-citeproc/issues/5
110 add "pandoc-citeproc"
112 -- Problems with doctest and sandboxing
116 -- https://github.com/fpco/stackage/issues/163
120 -- https://github.com/bos/math-functions/issues/25
123 -- FIXME the test suite fails fairly regularly in builds, though I haven't
124 -- discovered why yet
127 -- Test suite is currently failing regularly, needs to be worked out still.
130 -- Requires too old a version of test-framework
133 -- No code included any more, therefore Haddock fails
134 mapM_ add $ words =<<
135 [ "comonad-transformers comonads-fd groupoids"
136 , "profunctor-extras semigroupoid-extras"
137 , "hamlet shakespeare-css shakespeare-i18n"
138 , "shakespeare-js shakespeare-text"
139 , "attoparsec-conduit blaze-builder-conduit http-client-conduit"
140 , "network-conduit zlib-conduit http-client-multipart"
141 , "wai-eventsource wai-test"
145 -- Cloud Haskell tests seem to be unreliable
146 mapM_ add $ words =<<
147 [ "distributed-process lockfree-queue network-transport-tcp"
150 -- Pulls in monad-peel which does not compile
151 when (ghcVer >= GhcMajorVersion 7 8) $ add "monad-control"
153 -- https://github.com/fpco/stackage/issues/226
156 -- https://github.com/gtk2hs/gtk2hs/issues/36
160 -- https://github.com/acw/bytestring-progress/issues/3
161 add "bytestring-progress"
163 -- Seems to require 32-bit functions
166 -- Depends on a missing graphviz executable
169 -- https://github.com/silkapp/json-schema/issues/8
170 when (ghcVer <= GhcMajorVersion 7 6) $
173 -- No AWS creds available
182 -- Requires too new a version of time
183 when (ghcVer < GhcMajorVersion 7 8) $ add "cookie"
185 -- https://github.com/fpco/stackage/issues/285
186 add "diagrams-haddock"
190 -- https://github.com/BioHaskell/octree/issues/4
193 -- No code until we upgrade to network 2.6
196 -- https://github.com/goldfirere/th-desugar/issues/12
199 -- https://github.com/haskell/c2hs/issues/108
202 -- https://github.com/jmillikin/haskell-filesystem/issues/3
203 add "system-filepath"
205 -- For some unknown reason, doctest has trouble on GHC 7.6. This only
206 -- happens during a Stackage test.
208 -- See: http://www.reddit.com/r/haskell/comments/2go92u/beginner_error_messages_in_c_vs_haskell/cklaspk
209 when (ghcVer == GhcMajorVersion 7 6) $ add "http-types"
211 -- Requires a running webdriver server
215 -- Weird conflicts with sandboxing
219 -- Requires locally running server
222 -- Too lazy to keep the test dependencies up to date
224 words "hasql hasql-postgres hasql-backend postgresql-binary" ++
225 words "stm-containers focus list-t slave-thread partial-handler" ++
226 words "neat-interpolation cases" ++
227 words "base-prelude mtl-prelude"
230 -- https://github.com/gtk2hs/gtk2hs/issues/79
234 -- Requires SAT solver and old QuickCheck
237 -- https://github.com/ekmett/gl/issues/3
246 when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do
247 -- https://github.com/vincenthz/hs-asn1/issues/11
250 -- https://github.com/vincenthz/hs-tls/issues/84
255 -- Requires a correctly set up Postgres instance
258 add = tell . singleton . PackageName
260-- | List of packages for our stable Hackage. All dependencies will be
261-- included as well. Please indicate who will be maintaining the package
263defaultStablePackages :: GhcMajorVersion
264 -> Bool -- ^ using haskell platform?
265 -> Map PackageName (VersionRange, Maintainer)
266defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
267 when (ghcVer == GhcMajorVersion 7 8 && requireHP) haskellPlatform78
268 mapM_ (add "michael@snoyman.com") $ words =<<
269 [ "yesod yesod-newsfeed yesod-sitemap yesod-static yesod-test yesod-bin"
270 , "markdown mime-mail-ses"
271 , "persistent persistent-template persistent-sqlite persistent-postgresql persistent-mysql"
272 , "network-conduit-tls yackage warp-tls keter"
273 , "process-conduit stm-conduit"
274 , "classy-prelude-yesod yesod-fay yesod-eventsource wai-websockets"
275 , "random-shuffle hebrew-time"
276 , "bzlib-conduit case-insensitive"
277 , "conduit-extra conduit-combinators yesod-websockets"
279 , "yesod-auth-deskcom monadcryptorandom sphinx"
283 -- https://github.com/fpco/stackage/issues/261
284 addRange "Michael Snoyman" "cabal-install" $
287 | ghcVer <= GhcMajorVersion 7 6 -> "< 1.17"
288 | ghcVer <= GhcMajorVersion 7 8 -> "< 1.19"
289 | otherwise -> "-any"
290 -- cabal-install is buggy still...
291 addRange "Michael Snoyman" "network" "< 2.6"
292 addRange "Michael Snoyman" "network-uri" "< 2.6"
294 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
295 [ "web-fpco th-expand-syns configurator smtLib"
296 , "fixed-list indents language-c pretty-class"
297 , "csv-conduit cassava"
298 , "async shelly thyme"
299 , "hxt hxt-relaxng dimensional"
300 , "cairo diagrams-cairo gtk2hs-buildtools"
301 , "base16-bytestring convertible"
302 , "compdata hybrid-vectors"
303 , "executable-path formatting quandl-api"
304 , "fgl hmatrix hmatrix-gsl"
306 , "fpco-api aws persistent-mongoDB"
307 , "random-fu lhs2tex"
308 , "Chart Chart-diagrams histogram-fill random-source"
311 , "statistics-linreg"
312 -- https://github.com/Soostone/retry/issues/18
315 when (ghcVer < GhcMajorVersion 7 8) $ do -- No GHC 7.8 support
316 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
317 [ "" -- too unreliable for the moment "distributed-process distributed-process-simplelocalnet"
318 -- https://github.com/fpco/stackage/issues/295
319 --, "threepenny-gui unification-fd"
321 addRange "FP Complete <michael@fpcomplete.com>" "compdata" "< 0.8"
322 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
323 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
325 , "th-lift singletons th-desugar quickcheck-assertions"
326 , "distributed-process distributed-process-simplelocalnet" -- cloud-haskell"
329 addRange "FP Complete <michael@fpcomplete.com>" "kure" "<= 2.4.10"
331 mapM_ (add "Omari Norman <omari@smileystation.com>") $ words
332 "barecheck rainbow rainbow-tests"
333 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
334 mapM_ (add "Omari Norman <omari@smileystation.com>") $ words
337 mapM_ (add "Neil Mitchell") $ words
338 "hlint hoogle shake derive tagsoup cmdargs safe uniplate nsis js-jquery js-flot extra bake ghcid"
340 mapM_ (add "Alan Zimmerman") $ words
341 "hjsmin language-javascript"
343 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
344 mapM_ (add "Alfredo Di Napoli <alfredo.dinapoli@gmail.com>") $ words
347 mapM_ (add "Jasper Van der Jeugt") $ words
348 "blaze-html blaze-markup stylish-haskell"
350 mapM_ (add "Antoine Latter") $ words
353 mapM_ (add "Philipp Middendorf <pmidden@secure.mailbox.org>") $ words
356 mapM_ (add "Stefan Wehr <wehr@factisresearch.com>") $ words
357 "HTF xmlgen stm-stats"
358 when (ghcVer < GhcMajorVersion 7 8) $ add "Stefan Wehr <wehr@factisresearch.com>" "hscurses"
360 mapM_ (add "Bart Massey <bart.massey+stackage@gmail.com>") $ words
363 mapM_ (add "Vincent Hanquez") $ words =<<
364 [ "bytedump certificate cipher-aes cipher-rc4 connection"
365 , "cprng-aes cpu crypto-pubkey-types crypto-random-api cryptocipher"
366 , "cryptohash hit language-java libgit pem siphash socks tls"
367 , "tls-debug vhd language-java"
370 mapM_ (add "Chris Done") $ words =<<
371 [ "ace check-email freenect gd"
372 , "hostname-validate ini lucid osdkeys pdfinfo"
373 , "pure-io sourcemap frisby"
377 -- Requires older haddock currently
378 when (ghcVer == GhcMajorVersion 7 8 && requireHP) $
379 mapM_ (add "Chris Done") $ words =<<
383 -- https://github.com/jgoerzen/testpack/issues/10
384 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
385 mapM_ (add "Chris Done") $ words =<<
389 -- Requires too new a process for GHC 7.6
390 when (ghcVer >= GhcMajorVersion 7 8) $
391 mapM_ (add "Chris Done") $ words =<<
395 -- TODO: Add hindent and structured-haskell-mode once they've been ported to HSE 1.16.
397#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)
398 -- Does not compile on Windows
399 mapM_ (add "Vincent Hanquez") $ words "udbus xenstore"
402 when (ghcVer < GhcMajorVersion 7 8) $
403 mapM_ (add "Alberto G. Corona <agocorona@gmail.com>") $ words
404 "RefSerialize TCache Workflow MFlow"
406 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
407 [ "ad adjunctions bifunctors bound charset comonad comonad-transformers"
408 , "comonads-fd compressed concurrent-supply constraints contravariant"
409 , "distributive either eq free groupoids heaps hyphenation"
410 , "integration intervals kan-extensions lca lens linear monadic-arrays machines"
411 , "mtl profunctors profunctor-extras reducers reflection"
412 , "semigroups semigroupoids semigroupoid-extras speculation tagged void"
413 , "graphs monad-products monad-st wl-pprint-extras wl-pprint-terminfo"
414 , "numeric-extras parsers pointed prelude-extras reducers"
415 , "streams vector-instances"
416 , "approximate bits bytes compensated exceptions"
417 , "linear-accelerate log-domain"
418 , "monad-products monad-st nats"
422 when (ghcVer < GhcMajorVersion 7 8) $ do
423 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
424 [ "categories comonad-extras recursion-schemes syb-extras"
426 addRange "Edward Kmett <ekmett@gmail.com>" "bits" "< 0.4"
427 when (ghcVer >= GhcMajorVersion 7 8) $
428 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
429 -- https://github.com/ekmett/fixed/issues/1
431 -- https://github.com/ekmett/half/issues/1
434 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
435 mapM_ (add "Edward Kmett <ekmett@gmail.com>") $ words =<<
436 [ "lens-aeson quickpull zlib-lens"
438 -- Temporary upper bound for some of the above packages
439 addRange "Edward Kmett <ekmett@gmail.com>" "generic-deriving" "< 1.7"
441 mapM_ (add "Andrew Farmer <afarmer@ittc.ku.edu>") $ words
442 "scotty wai-middleware-static"
444 mapM_ (add "Simon Hengel <sol@typeful.net>") $ words
445 "hspec hspec-wai hspec-wai-json aeson-qq interpolate doctest base-compat"
447 mapM_ (add "Mario Blazevic <blamario@yahoo.com>") $ words
448 "monad-parallel monad-coroutine incremental-parser monoid-subclasses"
450 mapM_ (add "Brent Yorgey <byorgey@gmail.com>") $ words =<<
451 [ "monoid-extras dual-tree vector-space-points active force-layout"
452 , "diagrams diagrams-contrib diagrams-core diagrams-lib diagrams-svg"
453 , "diagrams-postscript haxr"
456 , "diagrams-builder diagrams-haddock BlogLiterately-diagrams"
458 mapM_ (add "Vincent Berthoux <vincent.berthoux@gmail.com>") $ words
461 mapM_ (add "Patrick Brisbin") $ words "gravatar"
463 -- https://github.com/fpco/stackage/issues/299
464 -- mapM_ (add "Paul Harper <benekastah@gmail.com>") $ words "yesod-auth-oauth2"
466 mapM_ (add "Felipe Lessa <felipe.lessa@gmail.com>") $ words
467 "esqueleto fb fb-persistent yesod-fb yesod-auth-fb"
469 mapM_ (add "Alexander Altman <alexanderaltman@me.com>") $ words
470 "base-unicode-symbols containers-unicode-symbols"
472 if ghcVer >= GhcMajorVersion 7 8
473 then add "Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>" "accelerate"
475 addRange "Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>" "accelerate" "< 0.15"
476 addRange "Michael Snoyman" "linear-accelerate" "< 0.2"
478 mapM_ (add "Dan Burton <danburton.email@gmail.com>") $ words =<<
479 [ "basic-prelude composition io-memoize numbers rev-state runmemo"
480 , "tardis lens-family-th"
483 mapM_ (add "Daniel Díaz <dhelta.diaz@gmail.com>") $ words
485 when (ghcVer >= GhcMajorVersion 7 8) $
486 mapM_ (add "Daniel Díaz <dhelta.diaz@gmail.com>") $ words
489 mapM_ (add "Gabriel Gonzalez <Gabriel439@gmail.com>")
490 ["pipes", "pipes-parse", "pipes-concurrency"]
492 when (ghcVer >= GhcMajorVersion 7 8) $
493 mapM_ (add "Chris Allen <cma@bitemyapp.com>")
496 mapM_ (add "Adam Bergmark <adam@bergmark.nl>") $ words
497 "fay fay-base fay-dom fay-jquery fay-text fay-uri snaplet-fay"
499 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
500 mapM_ (add "Rodrigo Setti <rodrigosetti@gmail.com>") $ words
501 "messagepack messagepack-rpc"
503 mapM_ (add "Boris Lykah <lykahb@gmail.com>") $ words
504 "groundhog groundhog-th groundhog-sqlite groundhog-postgresql groundhog-mysql"
506 mapM_ (add "Janne Hellsten <jjhellst@gmail.com>") $ words
509 mapM_ (add "Michal J. Gajda") $ words
510 "iterable Octree FenwickTree"
511 -- https://github.com/BioHaskell/hPDB/issues/2
512 when (ghcVer >= GhcMajorVersion 7 8) $ do
513 mapM_ (add "Michal J. Gajda") $ words
516 mapM_ (add "Roman Cheplyaka <roma@ro-che.info>") $ words =<<
517 [ "smallcheck tasty tasty-smallcheck tasty-quickcheck tasty-hunit tasty-golden"
518 , "traverse-with-class regex-applicative time-lens"
519 , "haskell-names haskell-packages hse-cpp"
520 , "action-permutations amqp curl generics-sop heredoc immortal timezone-olson timezone-series"
523 mapM_ (add "George Giorgidze <giorgidze@gmail.com>") $ words
526 mapM_ (add "Phil Hargett <phil@haphazardhouse.net>") $ words
529#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)
530 mapM_ (add "Aycan iRiCAN <iricanaycan@gmail.com>") $ words
531 "hdaemonize hsyslog hweblib"
533 mapM_ (add "Aycan iRiCAN <iricanaycan@gmail.com>") $ words
537 mapM_ (add "Joachim Breitner <mail@joachim-breitner.de>") $ words
538 "circle-packing arbtt"
539 when (ghcVer >= GhcMajorVersion 7 8) $
540 mapM_ (add "Joachim Breitner <mail@joachim-breitner.de>") $ words
543 when (ghcVer < GhcMajorVersion 7 8) $
544 mapM_ (add "John Wiegley") $ words =<<
545 [ "bindings-DSL github monad-extras numbers"
548 mapM_ (add "Aditya Bhargava <adit@adit.io") $ words
551 mapM_ (add "Clint Adams <clint@debian.org>") $ words
552 "hOpenPGP openpgp-asciiarmor MusicBrainz DAV hopenpgp-tools"
554 -- https://github.com/fpco/stackage/issues/160
555 mapM_ (add "Ketil Malde") $ words =<<
556 [ "biocore biofasta biofastq biosff"
557 , "blastxml bioace biophd"
558 , "biopsl" -- https://github.com/ingolia/SamTools/issues/3 samtools
559 , "seqloc bioalign BlastHTTP"
560 -- The following have out-of-date dependencies currently
561 -- biostockholm memexml RNAwolf
562 -- , "Biobase BiobaseDotP BiobaseFR3D BiobaseInfernal BiobaseMAF"
563 -- , "BiobaseTrainingData BiobaseTurner BiobaseXNA BiobaseVienna"
564 -- , "BiobaseTypes BiobaseFasta"
567 -- https://github.com/fpco/stackage/issues/163
568 addRange "Michael Snoyman" "biophd" "< 0.0.6 || > 0.0.6"
570 mapM_ (add "Silk <code@silk.co>") $ words =<<
571 [ "arrow-list attoparsec-expr bumper code-builder fay-builder"
572 , "hxt-pickle-utils multipart regular-xmlpickler"
573 , "tostring uri-encode imagesize-conduit"
575 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $ do
576 mapM_ (add "Silk <code@silk.co>") $ words =<<
577 [ "aeson-utils generic-aeson json-schema"
578 , "rest-client rest-core rest-gen rest-happstack rest-snap rest-stringmap"
579 , "rest-types rest-wai tostring uri-encode imagesize-conduit"
582 mapM_ (add "Simon Michael <simon@joyful.com>") $ words
585 mapM_ (add "Mihai Maruseac <mihai.maruseac@gmail.com>") $ words
588 mapM_ (add "Dimitri Sabadie <dimitri.sabadie@gmail.com") $ words
591 mapM_ (add "Thomas Schilling <nominolo@googlemail.com>") $ words
594 mapM_ (add "Boris Buliga <d12frosted@icloud.com>") $ words
596 when (ghcVer >= GhcMajorVersion 7 8) $
597 mapM_ (add "Boris Buliga <d12frosted@icloud.com>") $ words
598 "system-canonicalpath"
600 when (ghcVer >= GhcMajorVersion 7 8) $
601 mapM_ (add "Yann Esposito <yann.esposito@gmail.com>") $ words
603 when requireHP $ addRange "Yann Esposito <yann.esposito@gmail.com>" "holy-project" "< 0.1.1.1"
605 mapM_ (add "Paul Rouse <pgr@doynton.org>") $ words
608 add "Toralf Wittner <tw@dtex.org>" "zeromq4-haskell"
610 mapM_ (add "trupill@gmail.com") $ words
611 "djinn-lib djinn-ghc"
613 mapM_ (add "Arash Rouhani <miffoljud@gmail.com>") $ words
614 "yesod-text-markdown"
616 mapM_ (add "Matvey Aksenov <matvey.aksenov@gmail.com") $ words
619 mapM_ (add "Luis G. Torres <lgtorres42@gmail.com") $ words
621 {- https://github.com/fpco/stackage/pull/331
622 mapM_ (add "Jyotirmoy Bhattacharya <jyotirmoy@jyotirmoy.net") $ words
626 mapM_ (add "Emanuel Borsobom <manny@fpcomplete.com>") $ words =<<
627 ["text-binary BoundedChan bytestring-lexing bytestring-trie"
628 ,"data-accessor data-accessor-mtl file-location here"
629 ,"hlibgit2 hostname-validate interpolatedstring-perl6 iproute"
630 ,"missing-foreign multimap parallel-io"]
631 when (ghcVer >= GhcMajorVersion 7 8) $
632 mapM_ (add "Emanuel Borsobom <manny@fpcomplete.com>") $ words
633 "haddock-api git-embed"
634 when (not requireHP) $
635 mapM_ (add "Emanuel Borsobom <manny@fpcomplete.com>") $ words
638 mapM_ (add "Michael Sloan <mgsloan@gmail.com") $ words
639 "th-orphans th-reify-many"
641 when (ghcVer == GhcMajorVersion 7 8 && not requireHP) $
642 mapM_ (add "Michael Snoyman") $ words =<<
643 [ "repa repa-io repa-algorithms repa-devil JuicyPixels-repa"
646 when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $ do
647 mapM_ (add "Nikita Volkov <nikita.y.volkov@mail.ru>") $
648 words "hasql hasql-postgres hasql-backend postgresql-binary" ++
649 words "stm-containers focus list-t slave-thread partial-handler" ++
650 words "neat-interpolation cases" ++
651 words "base-prelude mtl-prelude"
652 addRange "Nikita Volkov <nikita.y.volkov@mail.ru>" "mtl-prelude" "< 2"
654 mapM_ (add "Iustin Pop <iustin@k1024.org>") $ words
657 mapM_ (add "Alexander Thiemann <mail@athiemann.net>") $ words
658 "graph-core reroute Spock"
660 mapM_ (add "Joey Eremondi <joey@eremondi.com>") $ words =<<
661 [ "prettyclass language-glsl union-find aeson-pretty QuasiText"
662 , "digest zip-archive elm-compiler elm-package elm-core-sources elm-build-lib"
666 mapM_ (add "Arthur Fayzrakhmanov <heraldhoi@gmail.com>") $ words
669 -- https://github.com/fpco/stackage/issues/217
670 addRange "Michael Snoyman" "transformers" "< 0.4"
671 addRange "Michael Snoyman" "mtl" "< 2.2"
672 addRange "Michael Snoyman" "lifted-base" "< 0.2.2.2"
674 -- https://github.com/fpco/stackage/issues/224
675 when (ghcVer <= GhcMajorVersion 7 6) $ do
676 addRange "Michael Snoyman" "zip-archive" "== 0.2.2.1"
677 addRange "Michael Snoyman" "pandoc" "== 1.12.4.2"
678 addRange "Michael Snoyman" "texmath" "<= 0.6.6.3"
679 addRange "Michael Snoyman" "attoparsec" "== 0.11.3.1"
680 addRange "Michael Snoyman" "parsers" "< 0.11"
681 addRange "Michael Snoyman" "scientific" "< 0.3"
682 addRange "Michael Snoyman" "aeson" "< 0.7.0.5"
683 addRange "Michael Snoyman" "aeson-utils" "< 0.2.2"
684 addRange "Michael Snoyman" "formatting" "< 5"
685 addRange "Michael Snoyman" "aws" "< 0.10"
686 addRange "Michael Snoyman" "network" "< 2.6"
687 addRange "Michael Snoyman" "network-uri" "< 2.6"
689 -- 0.16.2 fixes dependency issues with different version of GHC
690 -- and Haskell Platform. Now builds on GHC 7.4-7.8. Version 1.0 is
691 -- guaranteed to break the API. See
692 -- https://travis-ci.org/jswebtools/language-ecmascript for
693 -- current build status.
694 addRange "Andrey Chudnov <oss@chudnov.com>" "language-ecmascript" ">= 0.16.2 && < 1.0"
696 -- https://github.com/fpco/stackage/issues/271
697 when (ghcVer < GhcMajorVersion 7 8) $
698 addRange "Michael Snoyman" "aeson" "< 0.8"
700 -- https://github.com/fpco/stackage/issues/288
701 addRange "Michael Snoyman" "text" "< 1.2"
703 -- Force a specific version that's compatible with transformers 0.3
704 addRange "Michael Snoyman" "transformers-compat" "== 0.3.3.3"
706 -- https://github.com/fpco/stackage/issues/291
707 addRange "Michael Snoyman" "random" "< 1.0.1.3"
709 -- https://github.com/fpco/stackage/issues/314
710 addRange "Michael Snoyman" "hxt" "< 9.3.1.9"
712 -- https://github.com/fpco/stackage/issues/318
713 addRange "Michael Snoyman" "HaXml" "< 1.25"
715 -- https://github.com/fpco/stackage/issues/319
716 addRange "Michael Snoyman" "polyparse" "< 1.10"
718 -- https://github.com/fpco/stackage/issues/341
719 addRange "Michael Snoyman" "haskell-names" "< 0.5"
721 -- https://github.com/nikita-volkov/stm-containers/issues/3
722 addRange "Michael Snoyman" "free" "< 4.10"
724 -- https://github.com/fpco/stackage/issues/354
725 addRange "Michael Snoyman" "JuicyPixels" "< 3.2"
727 when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do
728 -- Yay workarounds for unnecessarily old versions
729 let peg x y = addRange "Haskell Platform" x y
730 peg "aeson" "== 0.7.0.4"
731 peg "scientific" "== 0.2.0.2"
732 peg "criterion" "<= 0.8.1.0"
733 peg "tasty-quickcheck" "< 0.8.0.3"
734 peg "formatting" "< 5.0"
735 peg "parsers" "< 0.11"
737 peg "contravariant" "< 1"
738 peg "adjunctions" "< 4.2"
739 peg "kan-extensions" "< 4.1"
740 peg "semigroupoids" "< 4.1"
742 peg "pandoc" "< 1.13"
743 peg "texmath" "<= 0.6.6.3"
744 peg "checkers" "== 0.3.2"
745 peg "HandsomeSoup" "< 0.3.3"
746 peg "network-uri" "< 2.6"
748 mapM_ (add "Tom Ellis <tom-stackage@jaguarpaw.co.uk>") $ words
749 "opaleye product-profunctors"
751add :: String -> String -> Writer PackageMap ()
752add maintainer package = addRange maintainer package "-any"
754addRange :: String -> String -> String -> Writer PackageMap ()
755addRange maintainer package range =
756 case simpleParse range of
757 Nothing -> error $ "Invalid range " ++ show range ++ " for " ++ package
758 Just range' -> tell $ PackageMap $ Map.singleton (PackageName package) (range', Maintainer maintainer)
760-- | Hard coded Haskell Platform versions
761haskellPlatform78 :: Writer PackageMap ()
762haskellPlatform78 = do
763 addRange "Haskell Platform" "ghc" "== 7.8.3"
764 addRange "Haskell Platform" "haddock" "== 2.14.3"
765 addRange "Haskell Platform" "array" "== 0.5.0.0"
766 addRange "Haskell Platform" "base" "== 4.7.0.1"
767 addRange "Haskell Platform" "bytestring" "== 0.10.4.0"
768 addRange "Haskell Platform" "Cabal" "== 1.18.1.3"
769 addRange "Haskell Platform" "containers" "== 0.5.5.1"
770 addRange "Haskell Platform" "deepseq" "== 1.3.0.2"
771 addRange "Haskell Platform" "directory" "== 1.2.1.0"
772 addRange "Haskell Platform" "filepath" "== 1.3.0.2"
773 addRange "Haskell Platform" "haskell2010" "== 1.1.2.0"
774 addRange "Haskell Platform" "haskell98" "== 2.0.0.3"
775 addRange "Haskell Platform" "hpc" "== 0.6.0.1"
776 addRange "Haskell Platform" "old-locale" "== 1.0.0.6"
777 addRange "Haskell Platform" "old-time" "== 1.1.0.2"
778 addRange "Haskell Platform" "pretty" "== 1.1.1.1"
779 addRange "Haskell Platform" "process" "== 1.2.0.0"
780 addRange "Haskell Platform" "template-haskell" "== 2.9.0.0"
781 addRange "Haskell Platform" "time" "== 1.4.2"
782 addRange "Haskell Platform" "transformers" "== 0.3.0.0"
783 addRange "Haskell Platform" "unix" "== 2.7.0.1"
784 addRange "Haskell Platform" "xhtml" "== 3000.2.1"
785 addRange "Haskell Platform" "async" "== 2.0.1.5"
786 addRange "Haskell Platform" "attoparsec" "== 0.10.4.0"
787 addRange "Haskell Platform" "case-insensitive" "== 1.1.0.3"
788 addRange "Haskell Platform" "fgl" "== 5.5.0.1"
789 addRange "Haskell Platform" "GLURaw" "== 1.4.0.1"
790 addRange "Haskell Platform" "GLUT" "== 2.5.1.1"
791 addRange "Haskell Platform" "hashable" "== 1.2.2.0"
792 addRange "Haskell Platform" "haskell-src" "== 1.0.1.6"
793 addRange "Haskell Platform" "html" "== 1.0.1.2"
794 addRange "Haskell Platform" "HTTP" "== 4000.2.10"
795 addRange "Haskell Platform" "HUnit" "== 1.2.5.2"
796 addRange "Haskell Platform" "mtl" "== 2.1.3.1"
797 addRange "Haskell Platform" "network" "== 2.4.2.3"
798 addRange "Haskell Platform" "OpenGL" "== 2.9.2.0"
799 addRange "Haskell Platform" "OpenGLRaw" "== 1.5.0.0"
800 addRange "Haskell Platform" "parallel" "== 3.2.0.4"
801 addRange "Haskell Platform" "parsec" "== 3.1.5"
802 addRange "Haskell Platform" "primitive" "== 0.5.2.1"
803 addRange "Haskell Platform" "QuickCheck" "== 2.6"
804 addRange "Haskell Platform" "random" "== 1.0.1.1"
805 addRange "Haskell Platform" "regex-base" "== 0.93.2"
806 addRange "Haskell Platform" "regex-compat" "== 0.95.1"
807 addRange "Haskell Platform" "regex-posix" "== 0.95.2"
808 addRange "Haskell Platform" "split" "== 0.2.2"
809 addRange "Haskell Platform" "stm" "== 2.4.2"
810 addRange "Haskell Platform" "syb" "== 0.4.1"
811 addRange "Haskell Platform" "text" "== 1.1.0.0"
812 addRange "Haskell Platform" "transformers" "== 0.3.0.0"
813 addRange "Haskell Platform" "unordered-containers" "== 0.2.4.0"
814 addRange "Haskell Platform" "vector" "== 0.10.9.1"
815 addRange "Haskell Platform" "xhtml" "== 3000.2.1"
816 addRange "Haskell Platform" "zlib" "== 0.5.4.1"
817 addRange "Haskell Platform" "alex" "== 3.1.3"
818 addRange "Haskell Platform" "cabal-install" "== 1.18.0.5"
819 addRange "Haskell Platform" "happy" "== 1.19.4"
820 addRange "Haskell Platform" "hscolour" "== 1.20.3"
822-- | Replacement Github users. This is useful when a project is owned by an
823-- organization. It also lets you ping multiple users.
825-- Note that cross organization team mentions aren't allowed by Github.
826convertGithubUser :: String -> [String]
828 fromMaybe [x] $ Map.lookup (map toLower x) pairs
831 [ ("diagrams", ["byorgey", "fryguybob", "jeffreyrosenbluth", "bergey"])
832 , ("yesodweb", ["snoyberg"])
833 , ("fpco", ["snoyberg"])
834 , ("faylang", ["bergmark"])
835 , ("silkapp", ["bergmark", "hesselink"])
836 , ("snapframework",["mightybyte"])
837 , ("haskell-ro", ["mihaimaruseac"])
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