* Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
This commit is contained in:
parent
bc71554fc8
commit
12ae5363ea
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
mkdir -p $out/emacs/site-lisp || exit 1
|
mkdir -p $out/emacs/site-lisp || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "nxml-mode-20031031";
|
name = "nxml-mode-20031031";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.thaiopensource.com/download/nxml-mode-20031031.tar.gz;
|
url = http://www.thaiopensource.com/download/nxml-mode-20031031.tar.gz;
|
||||||
md5 = "4cbc32047183e6cc1b7a2757d1078bd2";
|
md5 = "4cbc32047183e6cc1b7a2757d1078bd2";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $gtk $libpng"
|
buildinputs="$pkgconfig $gtk $libpng"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,8 @@ assert pkgconfig != null && gtk != null && libpng != null;
|
||||||
# not be linked against png.
|
# not be linked against png.
|
||||||
assert libpng == gtk.libpng;
|
assert libpng == gtk.libpng;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "gqview-1.3.5";
|
name = "gqview-1.3.5";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -15,7 +14,6 @@ derivation {
|
||||||
md5 = "c44687bdd636ea6e5133fb936abf880a";
|
md5 = "c44687bdd636ea6e5133fb936abf880a";
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
gtk = gtk;
|
gtk = gtk;
|
||||||
libpng = libpng;
|
libpng = libpng;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$perl"
|
buildinputs="$perl"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
{stdenv, fetchurl, perl}:
|
{stdenv, fetchurl, perl}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "hello-2.1.1";
|
name = "hello-2.1.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
|
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
|
||||||
md5 = "70c9ccf9fac07f762c24f2df2290784d";
|
md5 = "70c9ccf9fac07f762c24f2df2290784d";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
perl = perl;
|
perl = perl;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $gtk $perl $zip $libIDL"
|
buildinputs="$pkgconfig $gtk $perl $zip $libIDL"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,8 @@ assert pkgconfig != null && gtk != null && perl != null
|
||||||
|
|
||||||
assert libIDL.glib == gtk.glib;
|
assert libIDL.glib == gtk.glib;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "firefox-0.8";
|
name = "firefox-0.8";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -16,7 +15,6 @@ derivation {
|
||||||
md5 = "cdc85152f4219bf3e3f1a8dc46e04654";
|
md5 = "cdc85152f4219bf3e3f1a8dc46e04654";
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
gtk = gtk;
|
gtk = gtk;
|
||||||
perl = perl;
|
perl = perl;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildInputs="$gtk $gdkpixbuf $openssl"
|
buildInputs="$gtk $gdkpixbuf $openssl"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,8 @@ assert gtk != null;
|
||||||
assert sslSupport -> openssl != null;
|
assert sslSupport -> openssl != null;
|
||||||
assert imageSupport -> gdkpixbuf != null;
|
assert imageSupport -> gdkpixbuf != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "sylpheed-0.9.10";
|
name = "sylpheed-0.9.10";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -19,7 +18,7 @@ derivation {
|
||||||
|
|
||||||
inherit sslSupport imageSupport;
|
inherit sslSupport imageSupport;
|
||||||
|
|
||||||
inherit stdenv gtk;
|
inherit gtk;
|
||||||
openssl = if sslSupport then openssl else null;
|
openssl = if sslSupport then openssl else null;
|
||||||
gdkpixbuf = if imageSupport then gdkpixbuf else null;
|
gdkpixbuf = if imageSupport then gdkpixbuf else null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildInputs="$pkgconfig $gtk $gtkspell $gnet $libxml2 $perl $pcre"
|
|
||||||
. $stdenv/setup
|
|
||||||
genericBuild
|
|
|
@ -8,9 +8,8 @@ assert pkgconfig != null && gtk != null && gnet != null
|
||||||
assert spellChecking -> gtkspell != null && gtk == gtkspell.gtk;
|
assert spellChecking -> gtkspell != null && gtk == gtkspell.gtk;
|
||||||
assert gtk.glib == gnet.glib;
|
assert gtk.glib == gnet.glib;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "pan-0.14.2.91";
|
name = "pan-0.14.2.91";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -18,6 +17,10 @@ derivation {
|
||||||
md5 = "4770d899a1c1ba968ce96bc5aeb07b62";
|
md5 = "4770d899a1c1ba968ce96bc5aeb07b62";
|
||||||
};
|
};
|
||||||
|
|
||||||
gtkspell = if spellChecking then gtkspell else null;
|
buildInputs = [
|
||||||
inherit spellChecking stdenv pkgconfig gtk gnet libxml2 perl pcre;
|
pkgconfig gtk gnet libxml2 perl pcre
|
||||||
|
(if spellChecking then gtkspell else null)
|
||||||
|
];
|
||||||
|
|
||||||
|
inherit spellChecking stdenv;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildInputs="$openssl $db4 $httpd $swig $python $expat"
|
buildInputs="$openssl $db4 $httpd $swig $python $expat"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,8 @@ assert httpServer -> httpd != null && httpd.expat == expat;
|
||||||
assert sslSupport -> openssl != null && (httpServer -> httpd.openssl == openssl);
|
assert sslSupport -> openssl != null && (httpServer -> httpd.openssl == openssl);
|
||||||
assert swigBindings -> swig != null && swig.pythonSupport;
|
assert swigBindings -> swig != null && swig.pythonSupport;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "subversion-1.0.1";
|
name = "subversion-1.0.1";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -28,5 +27,5 @@ derivation {
|
||||||
swig = if swigBindings then swig else null;
|
swig = if swigBindings then swig else null;
|
||||||
python = if swigBindings then swig.python else null;
|
python = if swigBindings then swig.python else null;
|
||||||
|
|
||||||
inherit stdenv expat localServer httpServer sslSupport swigBindings;
|
inherit expat localServer httpServer sslSupport swigBindings;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$freetype $x11 $alsa"
|
buildinputs="$freetype $x11 $alsa"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,8 @@
|
||||||
assert x11 != null && freetype != null;
|
assert x11 != null && freetype != null;
|
||||||
assert alsaSupport -> alsa != null;
|
assert alsaSupport -> alsa != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "MPlayer-1.0pre3";
|
name = "MPlayer-1.0pre3";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -20,12 +19,10 @@ derivation {
|
||||||
|
|
||||||
alsaSupport = alsaSupport;
|
alsaSupport = alsaSupport;
|
||||||
|
|
||||||
stdenv = stdenv;
|
|
||||||
x11 = x11;
|
x11 = x11;
|
||||||
freetype = freetype;
|
freetype = freetype;
|
||||||
alsa = if alsaSupport then alsa else null;
|
alsa = if alsaSupport then alsa else null;
|
||||||
win32codecs = (import ./win32codecs) {
|
win32codecs = (import ./win32codecs) {
|
||||||
stdenv = stdenv;
|
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
mkdir $out || exit 1
|
mkdir $out || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "win32codecs-1";
|
name = "win32codecs-1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www2.mplayerhq.hu/MPlayer/releases/codecs/extralite.tar.bz2;
|
url = http://www2.mplayerhq.hu/MPlayer/releases/codecs/extralite.tar.bz2;
|
||||||
md5 = "4748ecae87f71e8bda9cb2e2a9bd30b4";
|
md5 = "4748ecae87f71e8bda9cb2e2a9bd30b4";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$x11"
|
buildinputs="$x11"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
assert x11 != null;
|
assert x11 != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "mplayerplug-in-1.0pre2";
|
name = "mplayerplug-in-1.0pre2";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -12,6 +11,5 @@ derivation {
|
||||||
md5 = "1a6eb243989c143984bb1aac63b5282e";
|
md5 = "1a6eb243989c143984bb1aac63b5282e";
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenv = stdenv;
|
|
||||||
x11 = x11;
|
x11 = x11;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$x11 $wxGTK $libdvdcss $libdvdread $libdvdplay $mpeg2dec $a52dec $libmad $alsa"
|
buildinputs="$x11 $wxGTK $libdvdcss $libdvdread $libdvdplay $mpeg2dec $a52dec $libmad $alsa"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,8 @@ assert x11 != null && wxGTK != null && libdvdcss != null
|
||||||
&& libmad != null && alsa != null;
|
&& libmad != null && alsa != null;
|
||||||
assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
|
assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "vlc-0.7.0";
|
name = "vlc-0.7.0";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -16,7 +15,6 @@ derivation {
|
||||||
md5 = "05efef68528892ca933585c7db0842e3";
|
md5 = "05efef68528892ca933585c7db0842e3";
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenv = stdenv;
|
|
||||||
x11 = x11;
|
x11 = x11;
|
||||||
wxGTK = wxGTK;
|
wxGTK = wxGTK;
|
||||||
libdvdcss = libdvdcss;
|
libdvdcss = libdvdcss;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $perl $python $x11 $libgnomeui \
|
buildinputs="$pkgconfig $perl $python $x11 $libgnomeui \
|
||||||
$libglade $scrollkeeper $esound $gettext $zvbi $libjpeg $libpng"
|
$libglade $scrollkeeper $esound $gettext $zvbi $libjpeg $libpng"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
|
@ -15,9 +15,8 @@ assert teletextSupport -> zvbi != null && zvbi.pngSupport
|
||||||
assert jpegSupport -> libjpeg != null;
|
assert jpegSupport -> libjpeg != null;
|
||||||
assert pngSupport -> libpng != null;
|
assert pngSupport -> libpng != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "zapping-0.7cvs6";
|
name = "zapping-0.7cvs6";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -29,7 +28,6 @@ derivation {
|
||||||
jpegSupport = jpegSupport;
|
jpegSupport = jpegSupport;
|
||||||
pngSupport = pngSupport;
|
pngSupport = pngSupport;
|
||||||
|
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
perl = perl;
|
perl = perl;
|
||||||
python = python;
|
python = python;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
echo "copying $url into $out..."
|
echo "copying $url into $out..."
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
{stdenv}: {pathname, md5}: derivation {
|
{stdenv}: {pathname, md5}: stdenv.mkDerivation {
|
||||||
name = baseNameOf (toString url);
|
name = baseNameOf (toString url);
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
stdenv = stdenv;
|
|
||||||
pathname = pathname;
|
pathname = pathname;
|
||||||
md5 = md5;
|
md5 = md5;
|
||||||
id = md5;
|
id = md5;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$subversion"
|
buildinputs="$subversion"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
{stdenv, subversion}: {url, rev}: derivation {
|
{stdenv, subversion}: {url, rev}: stdenv.mkDerivation {
|
||||||
name = "svn-checkout";
|
name = "svn-checkout";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
stdenv = stdenv;
|
|
||||||
subversion = subversion;
|
subversion = subversion;
|
||||||
url = url;
|
url = url;
|
||||||
rev = rev;
|
rev = rev;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
header "downloading $out from $url"
|
header "downloading $out from $url"
|
||||||
|
|
|
@ -2,11 +2,10 @@
|
||||||
|
|
||||||
# Note that `curl' may be `null', in case of the native stdenv.
|
# Note that `curl' may be `null', in case of the native stdenv.
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = baseNameOf (toString url);
|
name = baseNameOf (toString url);
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
buildInputs = [curl];
|
buildInputs = [curl];
|
||||||
id = md5;
|
id = md5;
|
||||||
inherit stdenv url md5;
|
inherit url md5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
||||||
|
@ -79,4 +77,4 @@ sed \
|
||||||
-e "s^@glibc@^$glibc^g" \
|
-e "s^@glibc@^$glibc^g" \
|
||||||
< $setupHook > $out/nix-support/setup-hook
|
< $setupHook > $out/nix-support/setup-hook
|
||||||
|
|
||||||
cp -p $utils $out/nix-support/utils
|
cp -p $utils $out/nix-support/utils
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# The Nix `gcc' derivation is not directly usable, since it doesn't
|
# The Nix `gcc' stdenv.mkDerivation is not directly usable, since it doesn't
|
||||||
# know where the C library and standard header files are. Therefore
|
# know where the C library and standard header files are. Therefore
|
||||||
# the compiler produced by that package cannot be installed directly
|
# the compiler produced by that package cannot be installed directly
|
||||||
# in a user environment and used from the command line. This
|
# in a user environment and used from the command line. This
|
||||||
# derivation provides a wrapper that sets up the right environment
|
# stdenv.mkDerivation provides a wrapper that sets up the right environment
|
||||||
# variables so that the compiler and the linker just "work".
|
# variables so that the compiler and the linker just "work".
|
||||||
|
|
||||||
{ name, stdenv, nativeTools, nativeGlibc, nativePrefix ? ""
|
{ name, stdenv, nativeTools, nativeGlibc, nativePrefix ? ""
|
||||||
|
@ -13,14 +13,13 @@ assert nativeTools -> nativePrefix != "";
|
||||||
assert !nativeTools -> gcc != null && binutils != null;
|
assert !nativeTools -> gcc != null && binutils != null;
|
||||||
assert !nativeGlibc -> glibc != null;
|
assert !nativeGlibc -> glibc != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
gccWrapper = ./gcc-wrapper.sh;
|
gccWrapper = ./gcc-wrapper.sh;
|
||||||
ldWrapper = ./ld-wrapper.sh;
|
ldWrapper = ./ld-wrapper.sh;
|
||||||
utils = ./utils.sh;
|
utils = ./utils.sh;
|
||||||
inherit name stdenv nativeTools nativeGlibc nativePrefix gcc glibc binutils;
|
inherit name nativeTools nativeGlibc nativePrefix gcc glibc binutils;
|
||||||
langC = if nativeTools then true else gcc.langC;
|
langC = if nativeTools then true else gcc.langC;
|
||||||
langCC = if nativeTools then true else gcc.langCC;
|
langCC = if nativeTools then true else gcc.langCC;
|
||||||
langF77 = if nativeTools then false else gcc.langF77;
|
langF77 = if nativeTools then false else gcc.langF77;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
mkdir -p $out/xml/dtd/docbook || exit 1
|
mkdir -p $out/xml/dtd/docbook || exit 1
|
||||||
|
|
|
@ -2,14 +2,12 @@
|
||||||
|
|
||||||
assert unzip != null;
|
assert unzip != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "docbook-xml-4.2";
|
name = "docbook-xml-4.2";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip;
|
url = http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip;
|
||||||
md5 = "73fe50dfe74ca631c1602f558ed8961f";
|
md5 = "73fe50dfe74ca631c1602f558ed8961f";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
unzip = unzip;
|
unzip = unzip;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
mkdir $out || exit 1
|
mkdir $out || exit 1
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "docbook-xsl-1.64.1";
|
name = "docbook-xsl-1.64.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://cesnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.64.1.tar.gz;
|
url = http://cesnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.64.1.tar.gz;
|
||||||
md5 = "ed766902e8381f6206d12f5c326fbd47";
|
md5 = "ed766902e8381f6206d12f5c326fbd47";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,12 @@
|
||||||
|
|
||||||
assert langC;
|
assert langC;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "gcc-3.3.3";
|
name = "gcc-3.3.3";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.3.3/gcc-3.3.3.tar.bz2;
|
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.3.3/gcc-3.3.3.tar.bz2;
|
||||||
md5 = "3c6cfd9fcd180481063b4058cf6faff2";
|
md5 = "3c6cfd9fcd180481063b4058cf6faff2";
|
||||||
};
|
};
|
||||||
inherit stdenv noSysDirs langC langCC langF77;
|
inherit noSysDirs langC langCC langF77;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$perl $ghc $m4"
|
buildinputs="$perl $ghc $m4"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
assert perl != null && ghc != null && m4 != null;
|
assert perl != null && ghc != null && m4 != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "ghc-6.2";
|
name = "ghc-6.2";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.haskell.org/ghc/dist/6.2/ghc-6.2-src.tar.bz2;
|
url = http://www.haskell.org/ghc/dist/6.2/ghc-6.2-src.tar.bz2;
|
||||||
md5 = "cc495e263f4384e1d6b38e851bf6eca0";
|
md5 = "cc495e263f4384e1d6b38e851bf6eca0";
|
||||||
};
|
};
|
||||||
inherit stdenv perl ghc m4;
|
inherit perl ghc m4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$ghc"
|
buildinputs="$ghc"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
assert ghc != null;
|
assert ghc != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "helium-1.2";
|
name = "helium-1.2";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.cs.uu.nl/helium/distr/helium-1.2-src.tar.gz;
|
url = http://www.cs.uu.nl/helium/distr/helium-1.2-src.tar.gz;
|
||||||
md5 = "6ea1d6e4436e137d75f5354b4758f299";
|
md5 = "6ea1d6e4436e137d75f5354b4758f299";
|
||||||
};
|
};
|
||||||
inherit stdenv ghc;
|
inherit ghc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
version=j2sdk1.4.2_03
|
version=j2sdk1.4.2_03
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
if stdenv.system == "i686-linux"
|
if stdenv.system == "i686-linux"
|
||||||
then
|
then
|
||||||
(import ./j2sdk-sun-linux.nix) {
|
(import ./j2sdk-sun-linux.nix) {
|
||||||
stdenv = stdenv;
|
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
tar xvfj $src || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "jikes-1.18";
|
name = "jikes-1.18";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.bz2;
|
url = ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.bz2;
|
||||||
md5 = "74bbcfd31aa2d7df4b86c5fe2db315cc";
|
md5 = "74bbcfd31aa2d7df4b86c5fe2db315cc";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildInputs="$aterm $sdf"
|
buildInputs="$aterm $sdf"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{stdenv, fetchurl, aterm, sdf}:
|
{stdenv, fetchurl, aterm, sdf}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "strategoxt-0.9.4";
|
name = "strategoxt-0.9.4";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.4.tar.gz;
|
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.4.tar.gz;
|
||||||
md5 = "b61aee784cebac6cce0d96383bdb1b37";
|
md5 = "b61aee784cebac6cce0d96383bdb1b37";
|
||||||
};
|
};
|
||||||
inherit stdenv aterm sdf;
|
inherit aterm sdf;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$aterm $sdf $strategoxt"
|
buildinputs="$aterm $sdf $strategoxt"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
{stdenv, fetchurl, aterm, sdf, strategoxt}: derivation {
|
{stdenv, fetchurl, aterm, sdf, strategoxt}: stdenv.mkDerivation {
|
||||||
name = "tiger-1.3-4631";
|
name = "tiger-1.3-4631";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://losser.st-lab.cs.uu.nl/~mbravenb/dailydist/tiger/src/tiger-1.3-4631.tar.gz;
|
url = http://losser.st-lab.cs.uu.nl/~mbravenb/dailydist/tiger/src/tiger-1.3-4631.tar.gz;
|
||||||
md5 = "1ea6070d84134eb6cff7fb32a75ef90a";
|
md5 = "1ea6070d84134eb6cff7fb32a75ef90a";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
aterm = aterm;
|
aterm = aterm;
|
||||||
sdf = sdf;
|
sdf = sdf;
|
||||||
strategoxt = strategoxt;
|
strategoxt = strategoxt;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
version=j2re1.4.2_03
|
version=j2re1.4.2_03
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
if stdenv.system == "i686-linux"
|
if stdenv.system == "i686-linux"
|
||||||
then
|
then
|
||||||
(import ./j2re-sun-linux.nix) {
|
(import ./j2re-sun-linux.nix) {
|
||||||
stdenv = stdenv;
|
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildinputs="$patch"
|
buildinputs="$patch"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
{stdenv, fetchurl, patch}:
|
{stdenv, fetchurl, patch}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "perl-5.8.3";
|
name = "perl-5.8.3";
|
||||||
system = stdenv.system;
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -19,5 +18,5 @@ derivation {
|
||||||
|
|
||||||
srcPatch = ./patch;
|
srcPatch = ./patch;
|
||||||
|
|
||||||
inherit stdenv patch;
|
inherit patch;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs=""
|
buildinputs=""
|
||||||
if test -n "$zlibSupport"; then
|
if test -n "$zlibSupport"; then
|
||||||
buildinputs="$zlib $buildinputs"
|
buildinputs="$zlib $buildinputs"
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "python-2.3.3";
|
name = "python-2.3.3";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2;
|
url = http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2;
|
||||||
md5 = "70ada9f65742ab2c77a96bcd6dffd9b1";
|
md5 = "70ada9f65742ab2c77a96bcd6dffd9b1";
|
||||||
};
|
};
|
||||||
zlib = if zlibSupport then zlib else null;
|
zlib = if zlibSupport then zlib else null;
|
||||||
inherit stdenv zlibSupport;
|
inherit zlibSupport;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
tar xvfz $src || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "a52dec-0.7.4";
|
name = "a52dec-0.7.4";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz;
|
url = http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz;
|
||||||
md5 = "caa9f5bc44232dc8aeea773fea56be80";
|
md5 = "caa9f5bc44232dc8aeea773fea56be80";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs=""
|
buildinputs=""
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "audiofile-0.2.3";
|
name = "audiofile-0.2.3";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.68k.org/~michael/audiofile/audiofile-0.2.5.tar.gz;
|
url = http://www.68k.org/~michael/audiofile/audiofile-0.2.5.tar.gz;
|
||||||
md5 = "fd07c62a17ceafa317929e55e51e26c5";
|
md5 = "fd07c62a17ceafa317929e55e51e26c5";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
tar xvfz $src || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "db4-4.2.52";
|
name = "db4-4.2.52";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz;
|
url = http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz;
|
||||||
md5 = "cbc77517c9278cdb47613ce8cb55779f";
|
md5 = "cbc77517c9278cdb47613ce8cb55779f";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
tar xvfz $src || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "expat-1.95.7";
|
name = "expat-1.95.7";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://heanet.dl.sourceforge.net/sourceforge/expat/expat-1.95.7.tar.gz;
|
url = http://heanet.dl.sourceforge.net/sourceforge/expat/expat-1.95.7.tar.gz;
|
||||||
md5 = "2ff59c2a5cbdd21a285c5f343e214fa9";
|
md5 = "2ff59c2a5cbdd21a285c5f343e214fa9";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildinputs="$freetype $expat $x11 $ed"
|
buildinputs="$freetype $expat $x11 $ed"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,13 @@ assert freetype != null;
|
||||||
assert expat != null;
|
assert expat != null;
|
||||||
assert ed != null;
|
assert ed != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "fontconfig-2.2.90";
|
name = "fontconfig-2.2.90";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://pdx.freedesktop.org/software/fontconfig/releases/fontconfig-2.2.90.tar.gz;
|
url = http://pdx.freedesktop.org/software/fontconfig/releases/fontconfig-2.2.90.tar.gz;
|
||||||
md5 = "5cb87476743be1bbf1674ed72a76ae6a";
|
md5 = "5cb87476743be1bbf1674ed72a76ae6a";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
x11 = x11;
|
x11 = x11;
|
||||||
freetype = freetype;
|
freetype = freetype;
|
||||||
expat = expat;
|
expat = expat;
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh -e
|
|
||||||
. $stdenv/setup
|
|
||||||
genericBuild
|
|
|
@ -1,13 +1,11 @@
|
||||||
{stdenv, fetchurl, pkgconfig, libX11}:
|
{stdenv, fetchurl, pkgconfig, libX11}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "libICE-6.3.2";
|
name = "libICE-6.3.2";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libICE-6.3.2.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libICE-6.3.2.tar.bz2;
|
||||||
md5 = "06db02e3df846b127a6e2dc3e345039c";
|
md5 = "06db02e3df846b127a6e2dc3e345039c";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig libX11];
|
buildInputs = [pkgconfig libX11];
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh -e
|
|
||||||
. $stdenv/setup
|
|
||||||
genericBuild
|
|
|
@ -1,8 +1,7 @@
|
||||||
{stdenv, fetchurl, pkgconfig, libX11, libICE}:
|
{stdenv, fetchurl, pkgconfig, libX11, libICE}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "libSM-6.0.2";
|
name = "libSM-6.0.2";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libSM-6.0.2.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libSM-6.0.2.tar.bz2;
|
||||||
|
@ -10,5 +9,4 @@ derivation {
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig];
|
buildInputs = [pkgconfig];
|
||||||
propagatedBuildInputs = [libX11 libICE];
|
propagatedBuildInputs = [libX11 libICE];
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh -e
|
|
||||||
. $stdenv/setup
|
|
||||||
genericBuild
|
|
|
@ -1,8 +1,7 @@
|
||||||
{stdenv, fetchurl, pkgconfig, xproto, xextensions, libXtrans, libXau}:
|
{stdenv, fetchurl, pkgconfig, xproto, xextensions, libXtrans, libXau}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "libX11-6.2.1";
|
name = "libX11-6.2.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libX11-6.2.1.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libX11-6.2.1.tar.bz2;
|
||||||
|
@ -10,5 +9,4 @@ derivation {
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig];
|
buildInputs = [pkgconfig];
|
||||||
propagatedBuildInputs = [xproto xextensions libXtrans libXau];
|
propagatedBuildInputs = [xproto xextensions libXtrans libXau];
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup
|
|
||||||
|
|
||||||
genericBuild
|
|
|
@ -1,13 +1,11 @@
|
||||||
{stdenv, fetchurl, pkgconfig, xproto}:
|
{stdenv, fetchurl, pkgconfig, xproto}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "libXau-0.1.1";
|
name = "libXau-0.1.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXau-0.1.1.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXau-0.1.1.tar.bz2;
|
||||||
md5 = "3d747ada4a7d17538fa21c62d5608656";
|
md5 = "3d747ada4a7d17538fa21c62d5608656";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig xproto];
|
buildInputs = [pkgconfig xproto];
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh -e
|
|
||||||
. $stdenv/setup
|
|
||||||
genericBuild
|
|
|
@ -1,8 +1,7 @@
|
||||||
{stdenv, fetchurl, pkgconfig, libX11, libSM, patch}:
|
{stdenv, fetchurl, pkgconfig, libX11, libSM, patch}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "libXt-0.1.4";
|
name = "libXt-0.1.4";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXt-0.1.4.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXt-0.1.4.tar.bz2;
|
||||||
|
@ -11,5 +10,4 @@ derivation {
|
||||||
buildInputs = [pkgconfig libX11 libSM patch];
|
buildInputs = [pkgconfig libX11 libSM patch];
|
||||||
# This patch should become unnecessary soon; already been fixed in CVS.
|
# This patch should become unnecessary soon; already been fixed in CVS.
|
||||||
patches = [./patch];
|
patches = [./patch];
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup
|
|
||||||
|
|
||||||
genericBuild
|
|
|
@ -1,12 +1,10 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "libXtrans-0.1";
|
name = "libXtrans-0.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXtrans-0.1.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXtrans-0.1.tar.bz2;
|
||||||
md5 = "a5ae4c7a75f930053b8327f7bd0c1361";
|
md5 = "a5ae4c7a75f930053b8327f7bd0c1361";
|
||||||
};
|
};
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup
|
|
||||||
|
|
||||||
genericBuild
|
|
|
@ -1,12 +1,10 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "xextensions-1.0.1";
|
name = "xextensions-1.0.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/xextensions-1.0.1.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/xextensions-1.0.1.tar.bz2;
|
||||||
md5 = "e61bca2a4757b736c9557dc8a7df2217";
|
md5 = "e61bca2a4757b736c9557dc8a7df2217";
|
||||||
};
|
};
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
dontMake=1
|
dontMake=1
|
||||||
dontMakeInstall=1
|
dontMakeInstall=1
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
{stdenv, libX11, libXt}:
|
{stdenv, libX11, libXt}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "xlib-1.0";
|
name = "xlib-1.0";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
propagatedBuildInputs = [libX11 libXt];
|
propagatedBuildInputs = [libX11 libXt];
|
||||||
inherit stdenv;
|
|
||||||
} // {
|
} // {
|
||||||
# For compatability with XFree86.
|
# For compatability with XFree86.
|
||||||
buildClientLibs = true;
|
buildClientLibs = true;
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup
|
|
||||||
|
|
||||||
genericBuild
|
|
|
@ -1,12 +1,10 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "xproto-6.6.1";
|
name = "xproto-6.6.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/xproto-6.6.1.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/xproto-6.6.1.tar.bz2;
|
||||||
md5 = "8a7546a607dcd61b2ee595c763fd7f85";
|
md5 = "8a7546a607dcd61b2ee595c763fd7f85";
|
||||||
};
|
};
|
||||||
inherit stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
tar xvfj $src || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "freetype-2.1.5";
|
name = "freetype-2.1.5";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://heanet.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.5.tar.bz2;
|
url = http://heanet.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.5.tar.bz2;
|
||||||
md5 = "54537b518b84d04190a1eccd393a29df";
|
md5 = "54537b518b84d04190a1eccd393a29df";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
tar xvfz $src || exit 1
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{stdenv, fetchurl}: derivation {
|
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||||
name = "gettext-0.12.1";
|
name = "gettext-0.12.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.nluug.nl/pub/gnu/gettext/gettext-0.12.1.tar.gz;
|
url = ftp://ftp.nluug.nl/pub/gnu/gettext/gettext-0.12.1.tar.gz;
|
||||||
md5 = "5d4bddd300072315e668247e5b7d5bdb";
|
md5 = "5d4bddd300072315e668247e5b7d5bdb";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
# glibc cannot have itself in its rpath.
|
# glibc cannot have itself in its rpath.
|
||||||
export NIX_NO_SELF_RPATH=1
|
export NIX_NO_SELF_RPATH=1
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
assert patch != null;
|
assert patch != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "glibc-2.3.2";
|
name = "glibc-2.3.2";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -21,5 +20,5 @@ derivation {
|
||||||
patches = [./glibc-2.3.2-sscanf-1.patch];
|
patches = [./glibc-2.3.2-sscanf-1.patch];
|
||||||
|
|
||||||
buildInputs = [patch];
|
buildInputs = [patch];
|
||||||
inherit stdenv kernelHeaders;
|
inherit kernelHeaders;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $glib"
|
buildinputs="$pkgconfig $glib"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,13 @@
|
||||||
|
|
||||||
assert pkgconfig != null && glib != null;
|
assert pkgconfig != null && glib != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "gnet-2.0.4";
|
name = "gnet-2.0.4";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.gnetlibrary.org/src/gnet-2.0.4.tar.gz;
|
url = http://www.gnetlibrary.org/src/gnet-2.0.4.tar.gz;
|
||||||
md5 = "b43e728391143214e2cfd0b835b6fd2a";
|
md5 = "b43e728391143214e2cfd0b835b6fd2a";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
glib = glib;
|
glib = glib;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $perl $glib $gtk $libxml2 $ORBit2 $popt"
|
buildinputs="$pkgconfig $perl $glib $gtk $libxml2 $ORBit2 $popt"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,13 @@ assert pkgconfig != null && perl != null
|
||||||
&& glib != null && gtk != null
|
&& glib != null && gtk != null
|
||||||
&& libxml2 != null && ORBit2 != null && popt != null;
|
&& libxml2 != null && ORBit2 != null && popt != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "GConf-2.4.0.1";
|
name = "GConf-2.4.0.1";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/GConf-2.4.0.1.tar.bz2;
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/GConf-2.4.0.1.tar.bz2;
|
||||||
md5 = "2f7548d0bad24d7c4beba54d0ec98a20";
|
md5 = "2f7548d0bad24d7c4beba54d0ec98a20";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
perl = perl; # Perl is not `supposed' to be required, but it is.
|
perl = perl; # Perl is not `supposed' to be required, but it is.
|
||||||
glib = glib;
|
glib = glib;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $glib $libIDL $popt"
|
buildinputs="$pkgconfig $glib $libIDL $popt"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,13 @@
|
||||||
assert pkgconfig != null && glib != null && libIDL != null
|
assert pkgconfig != null && glib != null && libIDL != null
|
||||||
&& popt != null;
|
&& popt != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "ORBit2-2.8.3";
|
name = "ORBit2-2.8.3";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.8/ORBit2-2.8.3.tar.bz2;
|
url = ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.8/ORBit2-2.8.3.tar.bz2;
|
||||||
md5 = "c6c4b63de2f70310e33a52a37257ddaf";
|
md5 = "c6c4b63de2f70310e33a52a37257ddaf";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
glib = glib;
|
glib = glib;
|
||||||
libIDL = libIDL;
|
libIDL = libIDL;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
buildinputs="$audiofile"
|
buildinputs="$audiofile"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
|
|
@ -2,14 +2,12 @@
|
||||||
|
|
||||||
assert audiofile != null;
|
assert audiofile != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "esound-0.2.32";
|
name = "esound-0.2.32";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/esound-0.2.32.tar.bz2;
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/esound-0.2.32.tar.bz2;
|
||||||
md5 = "b2a5e71ec8220fea1c22cc042f5f6e63";
|
md5 = "b2a5e71ec8220fea1c22cc042f5f6e63";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
audiofile = audiofile;
|
audiofile = audiofile;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
buildinputs="$pkgconfig $perl"
|
buildinputs="$pkgconfig $perl"
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,13 @@
|
||||||
|
|
||||||
assert pkgconfig != null && perl != null;
|
assert pkgconfig != null && perl != null;
|
||||||
|
|
||||||
derivation {
|
stdenv.mkDerivation {
|
||||||
name = "gnome-mime-data-2.4.0";
|
name = "gnome-mime-data-2.4.0";
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/gnome-mime-data-2.4.0.tar.bz2;
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/gnome-mime-data-2.4.0.tar.bz2;
|
||||||
md5 = "b8f1b383a23d734bec8bc33a03cb3690";
|
md5 = "b8f1b383a23d734bec8bc33a03cb3690";
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
|
||||||
pkgconfig = pkgconfig;
|
pkgconfig = pkgconfig;
|
||||||
perl = perl;
|
perl = perl;
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue