nixpkgs/pkgs/top-level/release.nix
Eelco Dolstra 7652248443 * Turn on almost all jobs from build-for-release.nix.
svn path=/nixpkgs/trunk/; revision=14690
2009-03-24 18:32:30 +00:00

367 lines
7.4 KiB
Nix

let
allPackages = import ./all-packages.nix;
pkgs = allPackages {};
/* Perform a job on the given set of platforms. The function `f' is
called by Hydra for each platform, and should return some job
to build on that platform. `f' is passed the Nixpkgs collection
for the platform in question. */
testOn = systems: f: {system ? builtins.currentSystem}:
if pkgs.lib.elem system systems then f (allPackages {inherit system;}) else {};
/* Map an attribute of the form `foo = [platforms...]' to `testOn
[platforms...] (pkgs: pkgs.foo)'. */
mapTestOn = pkgs.lib.mapAttrsRecursive
(path: value: testOn value (pkgs: pkgs.lib.getAttrFromPath path pkgs));
/* Common platform groups on which to test packages. */
linux = ["i686-linux" "x86_64-linux"];
darwin = ["i686-darwin"];
cygwin = ["i686-cygwin"];
all = linux ++ darwin ++ cygwin;
allBut = platform: pkgs.lib.filter (x: platform != x) all;
/* Platform groups for specific kinds of applications. */
x11Supported = linux;
gtkSupported = linux;
ghcSupported = linux ++ darwin;
in {
tarball = import ./make-tarball.nix;
} // mapTestOn {
MPlayer = linux;
abcde = linux;
alsaUtils = linux;
apacheHttpd = linux;
aspell = all;
at = linux;
aterm25 = all;
aterm28 = all;
audacious = linux;
audacious_plugins = linux;
autoconf = all;
automake110x = all;
automake19x = all;
avahi = allBut "i686-cygwin"; # Cygwin builds fail
bash = all;
bashInteractive = all;
bazaar = linux; # first let sqlite3 work on darwin
binutils = linux;
bison23 = all;
bison24 = all;
bitlbee = linux;
bittorrent = linux;
boost = all;
bsdiff = all;
bzip2 = all;
cabextract = all;
castleCombat = linux;
cdrkit = linux;
cedet = linux;
chatzilla = linux;
cksfv = all;
compiz = linux;
coreutils = all;
cpio = all;
cron = linux;
cups = linux;
db4 = all;
dhcp = linux;
dietlibc = linux;
diffutils = all;
docbook5 = all;
docbook5_xsl = all;
docbook_xml_dtd_42 = all;
docbook_xml_dtd_43 = all;
docbook_xsl = all;
doxygen = linux;
e2fsprogs = linux;
emacs22 = all;
emacsUnicode = all;
emms = linux;
enscript = all;
eprover = linux;
evince = linux;
expect = linux;
exult = linux;
feh = linux;
file = all;
findutils = all;
firefox2 = linux;
firefox3 = linux;
flex = all;
flex2535 = all;
gawk = all;
gcc = all;
gcc33 = linux;
gcc34 = linux;
gcc43multi = ["x86_64-linux"];
gdb = all;
ghc = ghcSupported;
ghostscript = linux;
ghostscriptX = linux;
gimp = linux;
git = linux;
gnash = linux;
gnugrep = all;
gnum4 = all;
gnumake = all;
gnupatch = all;
gnupg2 = linux;
gnuplot = allBut "i686-cygwin";
gnuplotX = linux;
gnused = all;
gnutar = all;
gnutls = linux;
gphoto2 = linux;
gprolog = linux;
gqview = gtkSupported;
graphviz = all;
grub = linux;
gsl = linux;
guile = linux; # tests fail on Cygwin
guileLib = linux;
gv = linux;
gzip = all;
hal = linux;
hello = all;
host = linux;
iana_etc = linux;
icecat3Xul = [ "i686-linux" ];
idutils = all;
imagemagick = allBut "i686-cygwin";
impressive = linux;
inetutils = linux;
inkscape = linux;
iputils = linux;
irssi = linux;
jnettop = linux;
jwhois = linux;
kbd = linux;
kcachegrind = linux;
keen4 = ["i686-linux"];
klibc = linux;
ktorrent = linux;
kvm = linux;
less = all;
lftp = all;
lhs2tex = ghcSupported;
libsmbios = linux;
libtool = all;
libtool2 = all;
libxml2 = all;
libxslt = all;
lout = linux;
lsh = linux;
lvm2 = linux;
man = linux;
manpages = linux;
maxima = linux;
mc = all;
mdadm = linux;
mercurial = allBut "i686-cygwin";
mesa = linux;
mingetty = linux;
mk = linux;
mktemp = all;
mod_python = linux;
module_init_tools = linux;
mono = linux;
monotone = linux;
mpg321 = linux;
mysql = linux;
nano = allBut "i686-cygwin";
netcat = all;
nfsUtils = linux;
nix = all;
nixUnstable = all;
nss_ldap = linux;
nssmdns = linux;
ntfs3g = linux;
ntp = linux;
nxml = all;
octave = linux;
openoffice = linux;
openssh = linux;
openssl = all;
pam_console = linux;
pam_ldap = linux;
pam_login = linux;
pam_unix2 = linux;
pan = gtkSupported;
par2cmdline = all;
pciutils = linux;
perl = all;
perlTaskCatalystTutorial = linux;
php = linux;
pidgin = linux;
pinentry = linux;
pkgconfig = all;
pltScheme = linux;
pmccabe = linux;
portmap = linux;
postgresql = all;
procps = linux;
python = allBut "i686-cygwin";
pythonFull = linux;
qt3 = allBut "i686-cygwin";
qt4 = linux;
quake3demo = linux;
readline = all;
reiserfsprogs = linux;
rogue = all;
rpm = linux;
rsync = linux;
rubber = allBut "i686-cygwin";
ruby = all;
screen = linux ++ darwin;
seccure = linux;
slim = linux;
sloccount = allBut "i686-cygwin";
spidermonkey = linux;
splashutils_13 = linux;
splashutils_15 = linux;
sqlite = allBut "i686-cygwin";
ssmtp = linux;
strace = linux;
su = linux;
subversion = all;
subversion16 = all;
sudo = linux;
superTuxKart = linux;
swig = linux;
sylpheed = linux;
sysklogd = linux;
syslinux = ["i686-linux"];
sysvinit = linux;
sysvtools = linux;
tcpdump = linux;
teeworlds = linux;
tetex = linux;
texLive = linux;
texLiveBeamer = linux;
texLiveExtra = linux;
texinfo = all;
thunderbird = linux;
tightvnc = linux;
time = linux;
tinycc = ["i686-linux"];
udev = linux;
uml = ["i686-linux"];
unzip = all;
upstart = linux;
utillinux = linux;
valgrind = linux;
vim = linux;
vimHugeX = linux;
vlc = linux;
vorbisTools = linux;
vpnc = linux;
w3m = all;
webkit = linux;
wget = all;
wine = ["i686-linux"];
wirelesstools = linux;
wxHaskell = linux;
x11_ssh_askpass = linux;
xchm = linux;
xfig = x11Supported;
xineUI = linux;
xkeyboard_config = linux;
xlockmore = linux;
xmltv = linux;
xpdf = linux;
xscreensaver = linux;
xsel = linux;
xterm = linux;
zdelta = linux;
zile = linux;
zip = all;
aspellDicts = {
de = all;
en = all;
es = all;
fr = all;
nl = all;
ru = all;
};
gnome = {
gconfeditor = linux;
gnomepanel = linux;
gnometerminal = linux;
gnomeutils = linux;
metacity = linux;
};
gtkLibs = {
gtk = linux;
};
kde3 = {
kdebase = linux;
kdelibs = linux;
};
kde42 = {
kdeadmin = linux;
kdeartwork = linux;
kdebase = linux;
kdebase_runtime = linux;
kdebase_workspace = linux;
kdeedu = linux;
kdegames = linux;
kdegraphics = linux;
kdelibs = linux;
kdemultimedia = linux;
kdenetwork = linux;
kdepim = linux;
kdeplasma_addons = linux;
kdesdk = linux;
kdetoys = linux;
kdeutils = linux;
kdewebdev = linux;
};
kernelPackages_2_6_27 = {
# aufs = linux; # kernel seems to be too old for that package
kernel = linux;
};
kernelPackages_2_6_28 = {
aufs = linux;
kernel = linux;
};
xorg = {
fontadobe100dpi = linux;
fontadobe75dpi = linux;
fontbh100dpi = linux;
fontbhlucidatypewriter100dpi = linux;
fontbhlucidatypewriter75dpi = linux;
fontbhttf = linux;
fontcursormisc = linux;
fontmiscmisc = linux;
iceauth = linux;
libX11 = linux;
setxkbmap = linux;
xauth = linux;
xf86inputkeyboard = linux;
xf86inputmouse = linux;
xf86videoi810 = linux;
xf86videovesa = linux;
xkbcomp = linux;
xorgserver = linux;
xrandr = linux;
xrdb = linux;
xset = linux;
};
}