mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-16 17:28:29 +01:00
Merged with fpco master
This commit is contained in:
commit
ee519d1440
@ -219,10 +219,13 @@ defaultExpectedFailures ghcVer requireHP = execWriter $ do
|
|||||||
-- Requires locally running server
|
-- Requires locally running server
|
||||||
add "bloodhound"
|
add "bloodhound"
|
||||||
|
|
||||||
-- Requires PostgreSQL running
|
-- Too lazy to keep the test dependencies up to date
|
||||||
add "postgresql-binary"
|
let names =
|
||||||
add "hasql"
|
words "hasql hasql-postgres hasql-backend postgresql-binary" ++
|
||||||
add "hasql-postgres"
|
words "stm-containers focus list-t slave-thread partial-handler" ++
|
||||||
|
words "neat-interpolation cases" ++
|
||||||
|
words "base-prelude mtl-prelude"
|
||||||
|
in mapM_ add names
|
||||||
|
|
||||||
-- https://github.com/gtk2hs/gtk2hs/issues/79
|
-- https://github.com/gtk2hs/gtk2hs/issues/79
|
||||||
add "gio"
|
add "gio"
|
||||||
@ -248,6 +251,9 @@ defaultExpectedFailures ghcVer requireHP = execWriter $ do
|
|||||||
add "tls"
|
add "tls"
|
||||||
|
|
||||||
add "x509"
|
add "x509"
|
||||||
|
|
||||||
|
-- Requires a correctly set up Postgres instance
|
||||||
|
add "opaleye"
|
||||||
where
|
where
|
||||||
add = tell . singleton . PackageName
|
add = tell . singleton . PackageName
|
||||||
|
|
||||||
@ -281,6 +287,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
| ghcVer <= GhcMajorVersion 7 6 -> "< 1.17"
|
| ghcVer <= GhcMajorVersion 7 6 -> "< 1.17"
|
||||||
| ghcVer <= GhcMajorVersion 7 8 -> "< 1.19"
|
| ghcVer <= GhcMajorVersion 7 8 -> "< 1.19"
|
||||||
| otherwise -> "-any"
|
| otherwise -> "-any"
|
||||||
|
-- cabal-install is buggy still...
|
||||||
|
addRange "Michael Snoyman" "network" "< 2.6"
|
||||||
|
addRange "Michael Snoyman" "network-uri" "< 2.6"
|
||||||
|
|
||||||
mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
|
mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
|
||||||
[ "web-fpco th-expand-syns configurator smtLib"
|
[ "web-fpco th-expand-syns configurator smtLib"
|
||||||
@ -314,6 +323,7 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
|
mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
|
||||||
[ "criterion"
|
[ "criterion"
|
||||||
, "th-lift singletons th-desugar quickcheck-assertions"
|
, "th-lift singletons th-desugar quickcheck-assertions"
|
||||||
|
, "distributed-process distributed-process-simplelocalnet" -- cloud-haskell"
|
||||||
]
|
]
|
||||||
|
|
||||||
addRange "FP Complete <michael@fpcomplete.com>" "kure" "<= 2.4.10"
|
addRange "FP Complete <michael@fpcomplete.com>" "kure" "<= 2.4.10"
|
||||||
@ -330,14 +340,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
mapM_ (add "Alan Zimmerman") $ words
|
mapM_ (add "Alan Zimmerman") $ words
|
||||||
"hjsmin language-javascript"
|
"hjsmin language-javascript"
|
||||||
|
|
||||||
{-
|
|
||||||
|
|
||||||
https://github.com/fpco/stackage/issues/320
|
|
||||||
|
|
||||||
when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
|
when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
|
||||||
mapM_ (add "Alfredo Di Napoli <alfredo.dinapoli@gmail.com>") $ words
|
mapM_ (add "Alfredo Di Napoli <alfredo.dinapoli@gmail.com>") $ words
|
||||||
"mandrill"
|
"mandrill"
|
||||||
-}
|
|
||||||
|
|
||||||
mapM_ (add "Jasper Van der Jeugt") $ words
|
mapM_ (add "Jasper Van der Jeugt") $ words
|
||||||
"blaze-html blaze-markup stylish-haskell"
|
"blaze-html blaze-markup stylish-haskell"
|
||||||
@ -465,9 +470,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
"base-unicode-symbols containers-unicode-symbols"
|
"base-unicode-symbols containers-unicode-symbols"
|
||||||
|
|
||||||
if ghcVer >= GhcMajorVersion 7 8
|
if ghcVer >= GhcMajorVersion 7 8
|
||||||
then add "Ryan Newton <ryan.newton@alum.mit.edu>" "accelerate"
|
then add "Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>" "accelerate"
|
||||||
else do
|
else do
|
||||||
addRange "Ryan Newton <ryan.newton@alum.mit.edu>" "accelerate" "< 0.15"
|
addRange "Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>" "accelerate" "< 0.15"
|
||||||
addRange "Michael Snoyman" "linear-accelerate" "< 0.2"
|
addRange "Michael Snoyman" "linear-accelerate" "< 0.2"
|
||||||
|
|
||||||
mapM_ (add "Dan Burton <danburton.email@gmail.com>") $ words =<<
|
mapM_ (add "Dan Burton <danburton.email@gmail.com>") $ words =<<
|
||||||
@ -657,6 +662,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
, "digest zip-archive elm-compiler elm-package elm-core-sources elm-build-lib"
|
, "digest zip-archive elm-compiler elm-package elm-core-sources elm-build-lib"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
mapM_ (add "Arthur Fayzrakhmanov <heraldhoi@gmail.com>") $ words
|
||||||
|
"sodium hdevtools"
|
||||||
|
|
||||||
-- https://github.com/fpco/stackage/issues/217
|
-- https://github.com/fpco/stackage/issues/217
|
||||||
addRange "Michael Snoyman" "transformers" "< 0.4"
|
addRange "Michael Snoyman" "transformers" "< 0.4"
|
||||||
addRange "Michael Snoyman" "mtl" "< 2.2"
|
addRange "Michael Snoyman" "mtl" "< 2.2"
|
||||||
@ -715,9 +724,6 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
-- https://github.com/fpco/stackage/issues/354
|
-- https://github.com/fpco/stackage/issues/354
|
||||||
addRange "Michael Snoyman" "JuicyPixels" "< 3.2"
|
addRange "Michael Snoyman" "JuicyPixels" "< 3.2"
|
||||||
|
|
||||||
-- https://github.com/fpco/stackage/issues/355
|
|
||||||
addRange "Michael Snoyman" "hashtables" "< 1.2"
|
|
||||||
|
|
||||||
when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do
|
when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do
|
||||||
-- Yay workarounds for unnecessarily old versions
|
-- Yay workarounds for unnecessarily old versions
|
||||||
let peg x y = addRange "Haskell Platform" x y
|
let peg x y = addRange "Haskell Platform" x y
|
||||||
@ -739,6 +745,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
peg "HandsomeSoup" "< 0.3.3"
|
peg "HandsomeSoup" "< 0.3.3"
|
||||||
peg "network-uri" "< 2.6"
|
peg "network-uri" "< 2.6"
|
||||||
|
|
||||||
|
mapM_ (add "Tom Ellis <tom-stackage@jaguarpaw.co.uk>") $ words
|
||||||
|
"opaleye product-profunctors"
|
||||||
|
|
||||||
add :: String -> String -> Writer PackageMap ()
|
add :: String -> String -> Writer PackageMap ()
|
||||||
add maintainer package = addRange maintainer package "-any"
|
add maintainer package = addRange maintainer package "-any"
|
||||||
|
|
||||||
|
|||||||
@ -43,10 +43,13 @@ defaultSelectSettings version requireHP = SelectSettings
|
|||||||
-> Set.singleton "containers-old"
|
-> Set.singleton "containers-old"
|
||||||
_ -> Set.empty) `Set.union`
|
_ -> Set.empty) `Set.union`
|
||||||
|
|
||||||
|
{-
|
||||||
-- Support for network 2.6
|
-- Support for network 2.6
|
||||||
(if version >= GhcMajorVersion 7 8 && not requireHP
|
(if version >= GhcMajorVersion 7 8 && not requireHP
|
||||||
then Set.singleton "network-uri"
|
then Set.singleton "network-uri"
|
||||||
else Set.empty)
|
else Set.empty)
|
||||||
|
-}
|
||||||
|
Set.empty
|
||||||
, disabledFlags = Set.fromList (words "bytestring-in-base test-hlint")
|
, disabledFlags = Set.fromList (words "bytestring-in-base test-hlint")
|
||||||
`Set.union`
|
`Set.union`
|
||||||
(if version <= GhcMajorVersion 7 4
|
(if version <= GhcMajorVersion 7 4
|
||||||
@ -60,10 +63,13 @@ defaultSelectSettings version requireHP = SelectSettings
|
|||||||
then Set.singleton "decoderinterface"
|
then Set.singleton "decoderinterface"
|
||||||
else Set.empty) `Set.union`
|
else Set.empty) `Set.union`
|
||||||
|
|
||||||
|
{-
|
||||||
-- Support for network 2.6
|
-- Support for network 2.6
|
||||||
(if version >= GhcMajorVersion 7 8 && not requireHP
|
(if version >= GhcMajorVersion 7 8 && not requireHP
|
||||||
then Set.empty
|
then Set.empty
|
||||||
else Set.singleton "network-uri")
|
else Set.singleton "network-uri")
|
||||||
|
-}
|
||||||
|
Set.singleton "network-uri"
|
||||||
, allowedPackage = const $ Right ()
|
, allowedPackage = const $ Right ()
|
||||||
, useGlobalDatabase = False
|
, useGlobalDatabase = False
|
||||||
, skippedTests =
|
, skippedTests =
|
||||||
|
|||||||
@ -40,7 +40,7 @@ library
|
|||||||
, transformers
|
, transformers
|
||||||
, process
|
, process
|
||||||
, old-locale
|
, old-locale
|
||||||
, time
|
, time < 1.5
|
||||||
, utf8-string
|
, utf8-string
|
||||||
|
|
||||||
executable stackage
|
executable stackage
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user