2003-11-02 18:42:19 +01:00
|
|
|
# This file evaluates to a function that, when supplied with a system
|
|
|
|
# identifier and a standard build environment, returns the set of all
|
|
|
|
# packages provided by the Nix Package Collection.
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
{system, stdenv}: rec {
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
### BUILD SUPPORT
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = (import ../build-support/fetchurl) {
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
|
|
|
### TOOLS
|
|
|
|
|
|
|
|
coreutils = (import ../tools/misc/coreutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
findutils = (import ../tools/misc/findutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
diffutils = (import ../tools/text/diffutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 19:14:24 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnused = (import ../tools/text/gnused) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnugrep = (import ../tools/text/gnugrep) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pcre = pcre;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gawk = (import ../tools/text/gawk) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 19:14:24 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
ed = (import ../tools/text/ed) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnutar = (import ../tools/archivers/gnutar) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-07 12:18:47 +01:00
|
|
|
zip = (import ../tools/archivers/zip) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gzip = (import ../tools/compression/gzip) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
bzip2 = (import ../tools/compression/bzip2) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-04 09:44:46 +01:00
|
|
|
wget = (import ../tools/networking/wget) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
|
|
|
### SHELLS
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
bash = (import ../shells/bash) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
|
|
|
### DEVELOPMENT
|
|
|
|
|
|
|
|
binutils = (import ../development/tools/misc/binutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
gnum4 = (import ../development/tools/misc/gnum4) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
pkgconfig = (import ../development/tools/misc/pkgconfig) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gnumake = (import ../development/tools/build-managers/gnumake) {
|
2003-11-06 13:43:25 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
bison = (import ../development/tools/parsing/bison) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
m4 = gnum4;
|
|
|
|
};
|
|
|
|
|
|
|
|
flex = (import ../development/tools/parsing/flex) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
yacc = bison;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gcc = (import ../development/compilers/gcc) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
binutils = binutils;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
perl = (import ../development/interpreters/perl) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
pcre = (import ../development/libraries/pcre) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
glibc = (import ../development/libraries/glibc) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
kernelHeaders = kernelHeaders;
|
|
|
|
};
|
2003-11-02 23:25:26 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
aterm = (import ../development/libraries/aterm) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 23:25:26 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
expat = (import ../development/libraries/expat) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
libxml2 = (import ../development/libraries/libxml2) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
zlib = zlib;
|
|
|
|
};
|
|
|
|
|
|
|
|
gettext = (import ../development/libraries/gettext) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
db4 = (import ../development/libraries/db4) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
openssl = (import ../development/libraries/openssl) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
perl = perl;
|
|
|
|
};
|
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
freetype = (import ../development/libraries/freetype) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
fontconfig = (import ../development/libraries/fontconfig) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
x11 = xfree86;
|
|
|
|
freetype = freetype;
|
|
|
|
expat = expat;
|
|
|
|
ed = ed;
|
|
|
|
};
|
|
|
|
|
|
|
|
xft = (import ../development/libraries/xft) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
x11 = xfree86;
|
|
|
|
fontconfig = fontconfig;
|
|
|
|
};
|
|
|
|
|
|
|
|
zlib = (import ../development/libraries/zlib) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libjpeg = (import ../development/libraries/libjpeg) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libtiff = (import ../development/libraries/libtiff) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
zlib = zlib;
|
|
|
|
libjpeg = libjpeg;
|
|
|
|
};
|
|
|
|
|
|
|
|
libpng = (import ../development/libraries/libpng) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
zlib = zlib;
|
|
|
|
};
|
|
|
|
|
|
|
|
glib = (import ../development/libraries/gtk+/glib) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
gettext = gettext;
|
|
|
|
perl = perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
atk = (import ../development/libraries/gtk+/atk) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
glib = glib;
|
|
|
|
perl = perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
pango = (import ../development/libraries/gtk+/pango) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
x11 = xfree86;
|
|
|
|
glib = glib;
|
|
|
|
xft = xft;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk = (import ../development/libraries/gtk+/gtk+) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
x11 = xfree86;
|
|
|
|
glib = glib;
|
|
|
|
atk = atk;
|
|
|
|
pango = pango;
|
|
|
|
perl = perl;
|
|
|
|
libtiff = libtiff;
|
|
|
|
libjpeg = libjpeg;
|
|
|
|
libpng = libpng;
|
|
|
|
};
|
|
|
|
|
2003-11-06 17:28:57 +01:00
|
|
|
glib1 = (import ../development/libraries/gtk+-1/glib) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk1 = (import ../development/libraries/gtk+-1/gtk+) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
x11 = xfree86;
|
|
|
|
glib = glib1;
|
|
|
|
};
|
|
|
|
|
|
|
|
gdkpixbuf = (import ../development/libraries/gtk+-1/gdk-pixbuf) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
gtk = gtk1;
|
|
|
|
libtiff = libtiff;
|
|
|
|
libjpeg = libjpeg;
|
|
|
|
libpng = libpng;
|
|
|
|
};
|
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
gnet = (import ../development/libraries/gnet) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
glib = glib;
|
|
|
|
};
|
|
|
|
|
2003-11-07 12:18:47 +01:00
|
|
|
libIDL = (import ../development/libraries/libIDL) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
glib = glib;
|
|
|
|
lex = flex;
|
|
|
|
yacc = bison;
|
|
|
|
};
|
2003-11-05 13:17:48 +01:00
|
|
|
|
2003-11-06 17:28:57 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
### SERVERS
|
|
|
|
|
|
|
|
apacheHttpd = (import ../servers/http/apache-httpd) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
sslSupport = true;
|
|
|
|
db4Support = true;
|
|
|
|
perl = perl;
|
|
|
|
openssl = openssl;
|
|
|
|
db4 = db4;
|
|
|
|
expat = expat;
|
|
|
|
};
|
|
|
|
|
2003-11-06 13:43:25 +01:00
|
|
|
xfree86 = (import ../servers/x11/xfree86) {
|
|
|
|
buildServer = false;
|
|
|
|
buildClientLibs = true;
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
flex = flex;
|
|
|
|
bison = bison;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
### OS-SPECIFIC
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
kernelHeaders = (import ../os-specific/linux/kernel-headers) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 23:25:26 +01:00
|
|
|
|
2003-11-11 16:57:15 +01:00
|
|
|
alsaLib = (import ../os-specific/linux/alsa/library) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
### APPLICATIONS
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-04 09:36:32 +01:00
|
|
|
subversion = (import ../applications/version-management/subversion) {
|
2003-11-05 13:17:48 +01:00
|
|
|
localServer = true;
|
2003-11-03 17:18:00 +01:00
|
|
|
httpServer = false;
|
2003-11-05 13:17:48 +01:00
|
|
|
sslSupport = true;
|
2003-11-03 17:18:00 +01:00
|
|
|
swigBindings = false;
|
2003-11-06 16:24:19 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
2003-11-05 13:17:48 +01:00
|
|
|
openssl = openssl;
|
|
|
|
httpd = apacheHttpd;
|
|
|
|
db4 = db4;
|
|
|
|
expat = expat;
|
2003-11-04 09:36:32 +01:00
|
|
|
};
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
pan = (import ../applications/networking/newsreaders/pan) {
|
|
|
|
spellChecking = false;
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
gtk = gtk;
|
|
|
|
gnet = gnet;
|
|
|
|
libxml2 = libxml2;
|
|
|
|
perl = perl;
|
|
|
|
};
|
|
|
|
|
2003-11-06 17:28:57 +01:00
|
|
|
sylpheed = (import ../applications/networking/mailreaders/sylpheed) {
|
|
|
|
sslSupport = true;
|
|
|
|
imageSupport = true;
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
gtk = gtk1;
|
|
|
|
openssl = openssl;
|
|
|
|
gdkpixbuf = gdkpixbuf;
|
|
|
|
};
|
|
|
|
|
2003-11-07 12:18:47 +01:00
|
|
|
firebird = (import ../applications/networking/browsers/firebird) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
gtk = gtk;
|
|
|
|
perl = perl;
|
|
|
|
zip = zip;
|
|
|
|
libIDL = libIDL;
|
|
|
|
};
|
|
|
|
|
2003-11-11 16:01:07 +01:00
|
|
|
MPlayer = (import ../applications/video/MPlayer) {
|
2003-11-11 16:57:15 +01:00
|
|
|
alsaSupport = true;
|
2003-11-11 16:01:07 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
x11 = xfree86;
|
|
|
|
freetype = freetype;
|
2003-11-11 16:57:15 +01:00
|
|
|
alsa = alsaLib;
|
2003-11-11 16:01:07 +01:00
|
|
|
};
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
}
|