2003-11-02 17:42:19 +00: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 10:22:00 +00:00
|
|
|
{system, stdenv}: rec {
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
### BUILD SUPPORT
|
|
|
|
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = (import ../build-support/fetchurl) {
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
|
|
|
### TOOLS
|
|
|
|
|
|
|
|
coreutils = (import ../tools/misc/coreutils) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
findutils = (import ../tools/misc/findutils) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
diffutils = (import ../tools/text/diffutils) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:14:24 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
gnused = (import ../tools/text/gnused) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
gnugrep = (import ../tools/text/gnugrep) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pcre = pcre;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
gawk = (import ../tools/text/gawk) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:14:24 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
ed = (import ../tools/text/ed) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
gnutar = (import ../tools/archivers/gnutar) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-07 11:18:47 +00:00
|
|
|
zip = (import ../tools/archivers/zip) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
gzip = (import ../tools/compression/gzip) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
bzip2 = (import ../tools/compression/bzip2) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-04 08:44:46 +00:00
|
|
|
wget = (import ../tools/networking/wget) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
|
|
|
### SHELLS
|
|
|
|
|
2003-11-03 10:22:00 +00:00
|
|
|
bash = (import ../shells/bash) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
|
|
|
### DEVELOPMENT
|
|
|
|
|
|
|
|
binutils = (import ../development/tools/misc/binutils) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
gnum4 = (import ../development/tools/misc/gnum4) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
pkgconfig = (import ../development/tools/misc/pkgconfig) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gnumake = (import ../development/tools/build-managers/gnumake) {
|
2003-11-06 12:43:25 +00: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 18:21:30 +00:00
|
|
|
gcc = (import ../development/compilers/gcc) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
binutils = binutils;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
perl = (import ../development/interpreters/perl) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
pcre = (import ../development/libraries/pcre) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
glibc = (import ../development/libraries/glibc) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
kernelHeaders = kernelHeaders;
|
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
aterm = (import ../development/libraries/aterm) {
|
2003-11-03 10:22:00 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
expat = (import ../development/libraries/expat) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
libxml2 = (import ../development/libraries/libxml2) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
zlib = zlib;
|
|
|
|
};
|
|
|
|
|
|
|
|
gettext = (import ../development/libraries/gettext) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
db4 = (import ../development/libraries/db4) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
openssl = (import ../development/libraries/openssl) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
perl = perl;
|
|
|
|
};
|
|
|
|
|
2003-11-06 15:24:19 +00: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 16:28:57 +00: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 15:24:19 +00:00
|
|
|
gnet = (import ../development/libraries/gnet) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
glib = glib;
|
|
|
|
};
|
|
|
|
|
2003-11-07 11:18:47 +00:00
|
|
|
libIDL = (import ../development/libraries/libIDL) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
glib = glib;
|
|
|
|
lex = flex;
|
|
|
|
yacc = bison;
|
|
|
|
};
|
2003-11-05 12:17:48 +00:00
|
|
|
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2003-11-05 12:17:48 +00: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 12:43:25 +00:00
|
|
|
xfree86 = (import ../servers/x11/xfree86) {
|
|
|
|
buildServer = false;
|
|
|
|
buildClientLibs = true;
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
flex = flex;
|
|
|
|
bison = bison;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
### OS-SPECIFIC
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-03 10:22:00 +00:00
|
|
|
kernelHeaders = (import ../os-specific/linux/kernel-headers) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2003-11-11 15:57:15 +00:00
|
|
|
alsaLib = (import ../os-specific/linux/alsa/library) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
### APPLICATIONS
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-04 08:36:32 +00:00
|
|
|
subversion = (import ../applications/version-management/subversion) {
|
2003-11-05 12:17:48 +00:00
|
|
|
localServer = true;
|
2003-11-03 16:18:00 +00:00
|
|
|
httpServer = false;
|
2003-11-05 12:17:48 +00:00
|
|
|
sslSupport = true;
|
2003-11-03 16:18:00 +00:00
|
|
|
swigBindings = false;
|
2003-11-06 15:24:19 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
2003-11-05 12:17:48 +00:00
|
|
|
openssl = openssl;
|
|
|
|
httpd = apacheHttpd;
|
|
|
|
db4 = db4;
|
|
|
|
expat = expat;
|
2003-11-04 08:36:32 +00:00
|
|
|
};
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-06 15:24:19 +00: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 16:28:57 +00:00
|
|
|
sylpheed = (import ../applications/networking/mailreaders/sylpheed) {
|
|
|
|
sslSupport = true;
|
|
|
|
imageSupport = true;
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
gtk = gtk1;
|
|
|
|
openssl = openssl;
|
|
|
|
gdkpixbuf = gdkpixbuf;
|
|
|
|
};
|
|
|
|
|
2003-11-07 11:18:47 +00:00
|
|
|
firebird = (import ../applications/networking/browsers/firebird) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
gtk = gtk;
|
|
|
|
perl = perl;
|
|
|
|
zip = zip;
|
|
|
|
libIDL = libIDL;
|
|
|
|
};
|
|
|
|
|
2003-11-11 15:01:07 +00:00
|
|
|
MPlayer = (import ../applications/video/MPlayer) {
|
2003-11-11 15:57:15 +00:00
|
|
|
alsaSupport = true;
|
2003-11-11 15:01:07 +00:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
x11 = xfree86;
|
|
|
|
freetype = freetype;
|
2003-11-11 15:57:15 +00:00
|
|
|
alsa = alsaLib;
|
2003-11-11 15:01:07 +00:00
|
|
|
};
|
|
|
|
|
2003-11-13 13:11:38 +00:00
|
|
|
MPlayerPlugin = (import ../applications/video/mplayerplug-in) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
x11 = xfree86;
|
|
|
|
};
|
|
|
|
|
2003-11-11 16:13:13 +00:00
|
|
|
gqview = (import ../applications/graphics/gqview) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pkgconfig = pkgconfig;
|
|
|
|
gtk = gtk;
|
|
|
|
libpng = libpng;
|
|
|
|
};
|
|
|
|
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|