nixpkgs/pkgs/top-level/release-haskell.nix

447 lines
10 KiB
Nix
Raw Normal View History

/* Essential Haskell packages that must build. */
{ supportedSystems ? [ "x86_64-linux" ] }:
with import ./release-lib.nix { inherit supportedSystems; };
let
ghc6104 = "ghc6104";
ghc6123 = "ghc6123";
ghc704 = "ghc704";
ghc742 = "ghc742";
ghc762 = "ghc762";
default = [ ghc742 ];
defaultOrLater = default ++ [ ghc762 ];
all = [ ghc6104 ghc6123 ghc704 ghc742 ghc762 ];
allBut = platform: pkgs.lib.filter (x: platform != x) all;
filterSupportedSystems = systems: pkgs.lib.filter (x: pkgs.lib.elem x supportedSystems) systems;
mapHaskellTestOn = attrs: pkgs.lib.mapAttrs mkJobs attrs;
mkJobs = pkg: ghcs: builtins.listToAttrs (pkgs.lib.concatMap (ghc: mkJob ghc pkg) ghcs);
mkJob = ghc: pkg:
let
pkgPath = ["haskellPackages_${ghc}" "${pkg}"];
systems = filterSupportedSystems (pkgs.lib.attrByPath (pkgPath ++ ["meta" "platforms"]) [] pkgs);
in
map (system: mkSystemJob system ghc pkg) systems;
mkSystemJob = system: ghc: pkg:
pkgs.lib.nameValuePair "${ghc}" (pkgs.lib.setAttrByPath [system] ((pkgs.lib.getAttrFromPath ["haskellPackages_${ghc}" "${pkg}"] (pkgsFor system))));
in
mapTestOn {
gitAndTools.gitAnnex = supportedSystems;
jhc = supportedSystems;
}
//
mapHaskellTestOn {
abstractPar = default;
ACVector = default;
aeson = default;
AgdaExecutable = default;
alex = all;
alexMeta = default;
alternativeIo = default;
ansiTerminal = default;
ansiWlPprint = default;
asn1Data = default;
AspectAG = default;
async = defaultOrLater;
attempt = default;
attoparsecEnumerator = default;
attoparsec = default;
authenticate = default;
base64Bytestring = default;
baseUnicodeSymbols = default;
benchpress = default;
bimap = default;
binaryShared = default;
bitmap = default;
bktrees = default;
blazeBuilderEnumerator = default;
blazeBuilder = default;
blazeHtml = default;
blazeTextual = default;
bloomfilter = default;
bmp = default;
BNFC = defaultOrLater;
BNFCMeta = default;
Boolean = default;
bytestringMmap = default;
bytestringNums = default;
bytestringTrie = default;
cabal2Ghci = default;
cabal2nix = allBut ghc6104;
cabalDev = defaultOrLater;
cabalGhci = defaultOrLater;
cabalInstall = all;
cairo = default;
caseInsensitive = default;
cautiousFile = default;
cereal = default;
certificate = default;
cgi = all;
Chart = default;
citeprocHs = default;
clientsession = default;
cmdargs = default;
cmdlib = defaultOrLater;
colorizeHaskell = default;
colour = default;
comonadsFd = default;
conduit = default;
ConfigFile = default;
continuedFractions = default;
converge = default;
convertible = default;
cookie = default;
cpphs = default;
cprngAes = default;
criterion = defaultOrLater;
cryptoApi = default;
cryptocipher = default;
Crypto = default;
cryptohash = default;
cssText = default;
csv = default;
darcs = default;
dataAccessor = default;
dataAccessorTemplate = default;
dataDefault = default;
dataenc = default;
dataReify = default;
datetime = default;
DAV = default;
dbus = default;
derive = default;
diagrams = default;
Diff = default;
digest = default;
digestiveFunctorsHeist = default;
digestiveFunctorsSnap = default;
dimensional = defaultOrLater;
dimensionalTf = defaultOrLater;
directoryTree = default;
distributedProcess = default;
dlist = default;
dns = default;
doctest = defaultOrLater;
dotgen = default;
doubleConversion = default;
Ebnf2ps = default;
editDistance = default;
editline = default;
emailValidate = default;
entropy = default;
enumerator = default;
epic = default;
erf = default;
failure = default;
fclabels = default;
feed = default;
fgl = all;
fileEmbed = default;
filestore = default;
fingertree = default;
flexibleDefaults = default;
funcmp = all;
gamma = default;
gdiff = default;
ghcEvents = default;
ghc = default;
ghcMod = defaultOrLater;
ghcMtl = default;
ghcPaths = default;
ghcSybUtils = default;
githubBackup = default;
github = default;
gitit = default;
glade = default;
glib = default;
Glob = default;
gloss = default;
GLUT = all;
gnutls = default;
graphviz = defaultOrLater;
gtk = default;
gtksourceview2 = default;
hackageDb = defaultOrLater;
haddock = all;
hakyll = default;
hamlet = default;
happstackHamlet = default;
happstackServer = default;
happstackUtil = default;
happy = all;
hashable = default;
hashedStorage = default;
haskeline = default;
haskellLexer = default;
haskellPlatform = allBut ghc762;
haskellSrcExts = default;
haskellSrc = all;
haskellSrcMeta = default;
HaXml = default;
haxr = default;
HDBC = default;
HDBCPostgresql = default;
HDBCSqlite3 = default;
HFuse = default;
highlightingKate = default;
hinotify = default;
hint = default;
Hipmunk = default;
hledger = defaultOrLater;
hledgerInterest = defaultOrLater;
hledgerLib = defaultOrLater;
hledgerWeb = default;
hlint = defaultOrLater;
HList = defaultOrLater;
hmatrix = default;
hoogle = defaultOrLater;
hopenssl = all;
hostname = default;
hp2anyCore = default;
hp2anyGraph = default;
hS3 = default;
hscolour = default;
hsdns = all;
hsemail = allBut ghc6104;
hslogger = default;
hsloggerTemplate = default;
hspec = defaultOrLater;
hspread = default;
HsSyck = default;
HStringTemplate = defaultOrLater;
hsyslog = all;
html = all;
httpConduit = default;
httpDate = default;
httpdShed = default;
HTTP = all;
httpTypes = default;
HUnit = all;
hxt = default;
IfElse = default;
irc = default;
iteratee = default;
jailbreakCabal = defaultOrLater;
json = default;
jsonTypes = default;
keter = default;
lambdabot = default;
languageCQuote = default;
languageJavascript = default;
largeword = default;
lens = default;
libxmlSax = default;
liftedBase = default;
ListLike = default;
logfloat = default;
ltk = default;
mainlandPretty = default;
maude = default;
MaybeT = default;
MemoTrie = default;
mersenneRandomPure64 = default;
mimeMail = default;
MissingH = default;
mmap = default;
MonadCatchIOMtl = default;
MonadCatchIOTransformers = default;
monadControl = default;
monadLoops = default;
monadPar = defaultOrLater;
monadPeel = default;
MonadPrompt = default;
MonadRandom = default;
mpppc = default;
mtl = all;
mtlparse = default;
multiplate = default;
multirec = default;
multiset = default;
murmurHash = default;
mwcRandom = default;
nat = default;
nats = default;
naturals = default;
network = all;
networkInfo = default;
networkMulticast = default;
networkProtocolXmpp = default;
nonNegative = default;
numericPrelude = default;
numtype = default;
numtypeTf = default;
ObjectName = default;
OneTuple = default;
OpenAL = all;
optparseApplicative = all;
packunused = default;
pandoc = defaultOrLater;
pandocTypes = default;
pango = default;
parallel = all;
parseargs = default;
parsec3 = default;
parsec = all;
parsimony = default;
pathPieces = default;
pathtype = default;
pcreLight = default;
permutation = defaultOrLater;
persistent = default;
persistentPostgresql = default;
persistentSqlite = default;
persistentTemplate = default;
polyparse = default;
ppm = default;
prettyShow = default;
primitive = all;
PSQueue = default;
pureMD5 = default;
pwstoreFast = default;
QuickCheck2 = default;
QuickCheck = all;
randomFu = default;
random = defaultOrLater;
randomShuffle = default;
randomSource = default;
RangedSets = default;
ranges = default;
readline = default;
recaptcha = default;
regexBase = all;
regexCompat = all;
regexPCRE = default;
regexPosix = all;
regexpr = default;
regexTDFA = default;
regular = default;
RSA = default;
rvar = default;
safe = default;
SafeSemaphore = default;
SDL = default;
SDLImage = default;
SDLMixer = default;
SDLTtf = default;
semigroups = default;
sendfile = default;
SHA = default;
shake = default;
Shellac = default;
shelly = default;
simpleSendfile = default;
smallcheck = defaultOrLater;
SMTPClient = default;
snapCore = default;
snap = default;
snapLoaderStatic = default;
snapServer = default;
split = defaultOrLater;
srcloc = default;
stateref = default;
StateVar = default;
statistics = default;
stbImage = default;
stm = all;
storableComplex = default;
storableRecord = default;
streamproc = all;
strictConcurrency = default;
strict = default;
strptime = default;
svgcairo = default;
syb = [ ghc704 ghc742 ghc762 ];
sybWithClass = default;
sybWithClassInstancesText = default;
tabular = default;
tagged = default;
tagsoup = default;
tar = defaultOrLater;
Tensor = default;
terminfo = default;
testFramework = defaultOrLater;
testFrameworkHunit = defaultOrLater;
texmath = default;
text = all;
thLift = default;
timeplot = default;
tlsExtra = default;
tls = default;
transformersBase = default;
transformersCompat = default;
transformers = all;
tuple = default;
typeLlevelNaturalNumber = default;
uniplate = default;
uniqueid = default;
unixCompat = default;
unorderedContainers = default;
url = default;
utf8Light = default;
utf8String = default;
utilityHt = default;
uuagc = default;
uuid = default;
uulib = defaultOrLater;
uuParsinglib = default;
vacuumCairo = default;
vacuum = default;
vcsRevision = default;
Vec = default;
vectorAlgorithms = default;
vector = all;
vectorSpace = default;
vty = default;
waiAppStatic = default;
waiExtra = default;
wai = default;
waiLogger = default;
warp = default;
wlPprintExtras = default;
wlPprint = defaultOrLater;
wlPprintTerminfo = default;
wxcore = default;
wxdirect = default;
wx = default;
X11 = default;
xhtml = all;
xmlConduit = default;
xml = default;
xmlHamlet = default;
xmlTypes = default;
xmobar = defaultOrLater;
xmonadContrib = defaultOrLater;
xmonadExtras = defaultOrLater;
xmonad = defaultOrLater;
xssSanitize = default;
yesodAuth = default;
yesodCore = default;
yesodDefault = default;
yesodForm = default;
yesod = default;
yesodJson = default;
yesodPersistent = default;
yesodStatic = default;
zeromq3Haskell = default;
zeromqHaskell = default;
zipArchive = default;
zipper = default;
zlibBindings = default;
zlibEnum = default;
zlib = all;
}