* 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:
Eelco Dolstra
2004-03-29 17:23:01 +00:00
parent bc71554fc8
commit 12ae5363ea
297 changed files with 259 additions and 807 deletions

2
pkgs/development/libraries/a52dec/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "a52dec-0.7.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz;
md5 = "caa9f5bc44232dc8aeea773fea56be80";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/audiofile/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs=""
. $stdenv/setup || exit 1

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "audiofile-0.2.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.68k.org/~michael/audiofile/audiofile-0.2.5.tar.gz;
md5 = "fd07c62a17ceafa317929e55e51e26c5";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/db4/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "db4-4.2.52";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz;
md5 = "cbc77517c9278cdb47613ce8cb55779f";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/expat/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "expat-1.95.7";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/expat/expat-1.95.7.tar.gz;
md5 = "2ff59c2a5cbdd21a285c5f343e214fa9";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/fontconfig/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$freetype $expat $x11 $ed"
. $stdenv/setup

View File

@@ -5,15 +5,13 @@ assert freetype != null;
assert expat != null;
assert ed != null;
derivation {
stdenv.mkDerivation {
name = "fontconfig-2.2.90";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://pdx.freedesktop.org/software/fontconfig/releases/fontconfig-2.2.90.tar.gz;
md5 = "5cb87476743be1bbf1674ed72a76ae6a";
};
stdenv = stdenv;
x11 = x11;
freetype = freetype;
expat = expat;

View File

@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -1,13 +1,11 @@
{stdenv, fetchurl, pkgconfig, libX11}:
derivation {
stdenv.mkDerivation {
name = "libICE-6.3.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libICE-6.3.2.tar.bz2;
md5 = "06db02e3df846b127a6e2dc3e345039c";
};
buildInputs = [pkgconfig libX11];
inherit stdenv;
}

View File

@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -1,8 +1,7 @@
{stdenv, fetchurl, pkgconfig, libX11, libICE}:
derivation {
stdenv.mkDerivation {
name = "libSM-6.0.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libSM-6.0.2.tar.bz2;
@@ -10,5 +9,4 @@ derivation {
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [libX11 libICE];
inherit stdenv;
}

View File

@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -1,8 +1,7 @@
{stdenv, fetchurl, pkgconfig, xproto, xextensions, libXtrans, libXau}:
derivation {
stdenv.mkDerivation {
name = "libX11-6.2.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libX11-6.2.1.tar.bz2;
@@ -10,5 +9,4 @@ derivation {
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [xproto xextensions libXtrans libXau];
inherit stdenv;
}

View File

@@ -1,5 +0,0 @@
#! /bin/sh
. $stdenv/setup
genericBuild

View File

@@ -1,13 +1,11 @@
{stdenv, fetchurl, pkgconfig, xproto}:
derivation {
stdenv.mkDerivation {
name = "libXau-0.1.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXau-0.1.1.tar.bz2;
md5 = "3d747ada4a7d17538fa21c62d5608656";
};
buildInputs = [pkgconfig xproto];
inherit stdenv;
}

View File

@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -1,8 +1,7 @@
{stdenv, fetchurl, pkgconfig, libX11, libSM, patch}:
derivation {
stdenv.mkDerivation {
name = "libXt-0.1.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
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];
# This patch should become unnecessary soon; already been fixed in CVS.
patches = [./patch];
inherit stdenv;
}

View File

@@ -1,5 +0,0 @@
#! /bin/sh
. $stdenv/setup
genericBuild

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "libXtrans-0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXtrans-0.1.tar.bz2;
md5 = "a5ae4c7a75f930053b8327f7bd0c1361";
};
inherit stdenv;
}

View File

@@ -1,5 +0,0 @@
#! /bin/sh
. $stdenv/setup
genericBuild

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "xextensions-1.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/xextensions-1.0.1.tar.bz2;
md5 = "e61bca2a4757b736c9557dc8a7df2217";
};
inherit stdenv;
}

View File

@@ -1,4 +1,3 @@
#! /bin/sh -e
. $stdenv/setup
dontMake=1
dontMakeInstall=1

View File

@@ -1,11 +1,9 @@
{stdenv, libX11, libXt}:
derivation {
stdenv.mkDerivation {
name = "xlib-1.0";
system = stdenv.system;
builder = ./builder.sh;
propagatedBuildInputs = [libX11 libXt];
inherit stdenv;
} // {
# For compatability with XFree86.
buildClientLibs = true;

View File

@@ -1,5 +0,0 @@
#! /bin/sh
. $stdenv/setup
genericBuild

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "xproto-6.6.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/xproto-6.6.1.tar.bz2;
md5 = "8a7546a607dcd61b2ee595c763fd7f85";
};
inherit stdenv;
}

2
pkgs/development/libraries/freetype/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "freetype-2.1.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.5.tar.bz2;
md5 = "54537b518b84d04190a1eccd393a29df";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/gettext/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "gettext-0.12.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/gettext/gettext-0.12.1.tar.gz;
md5 = "5d4bddd300072315e668247e5b7d5bdb";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/glibc/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
# glibc cannot have itself in its rpath.
export NIX_NO_SELF_RPATH=1

View File

@@ -2,9 +2,8 @@
assert patch != null;
derivation {
stdenv.mkDerivation {
name = "glibc-2.3.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
@@ -21,5 +20,5 @@ derivation {
patches = [./glibc-2.3.2-sscanf-1.patch];
buildInputs = [patch];
inherit stdenv kernelHeaders;
inherit kernelHeaders;
}

2
pkgs/development/libraries/gnet/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $glib"
. $stdenv/setup || exit 1

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && glib != null;
derivation {
stdenv.mkDerivation {
name = "gnet-2.0.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.gnetlibrary.org/src/gnet-2.0.4.tar.gz;
md5 = "b43e728391143214e2cfd0b835b6fd2a";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
}

2
pkgs/development/libraries/gnome/GConf/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $glib $gtk $libxml2 $ORBit2 $popt"
. $stdenv/setup

View File

@@ -4,15 +4,13 @@ assert pkgconfig != null && perl != null
&& glib != null && gtk != null
&& libxml2 != null && ORBit2 != null && popt != null;
derivation {
stdenv.mkDerivation {
name = "GConf-2.4.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/GConf-2.4.0.1.tar.bz2;
md5 = "2f7548d0bad24d7c4beba54d0ec98a20";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl; # Perl is not `supposed' to be required, but it is.
glib = glib;

2
pkgs/development/libraries/gnome/ORBit2/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $glib $libIDL $popt"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && glib != null && libIDL != null
&& popt != null;
derivation {
stdenv.mkDerivation {
name = "ORBit2-2.8.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.8/ORBit2-2.8.3.tar.bz2;
md5 = "c6c4b63de2f70310e33a52a37257ddaf";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
libIDL = libIDL;

2
pkgs/development/libraries/gnome/esound/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$audiofile"
. $stdenv/setup

View File

@@ -2,14 +2,12 @@
assert audiofile != null;
derivation {
stdenv.mkDerivation {
name = "esound-0.2.32";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/esound-0.2.32.tar.bz2;
md5 = "b2a5e71ec8220fea1c22cc042f5f6e63";
};
stdenv = stdenv;
audiofile = audiofile;
}

View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $perl"
. $stdenv/setup || exit 1

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && perl != null;
derivation {
stdenv.mkDerivation {
name = "gnome-mime-data-2.4.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/gnome-mime-data-2.4.0.tar.bz2;
md5 = "b8f1b383a23d734bec8bc33a03cb3690";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
}

2
pkgs/development/libraries/gnome/gnome-vfs/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $perl $glib $libxml2 $GConf $libbonobo \
$gnomemimedata $popt $bzip2"
. $stdenv/setup || exit 1

View File

@@ -5,15 +5,13 @@ assert pkgconfig != null && perl != null && glib != null
&& libxml2 != null && GConf != null && libbonobo != null
&& gnomemimedata != null && bzip2 != null;
derivation {
stdenv.mkDerivation {
name = "gnome-vfs-2.4.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.4/gnome-vfs-2.4.1.tar.bz2;
md5 = "cb7a36076f6a65e40c7f540be3057310";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
glib = glib;

2
pkgs/development/libraries/gnome/libIDL/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $glib $lex $yacc"
. $stdenv/setup || exit 1

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && glib != null && lex != null && yacc != null;
derivation {
stdenv.mkDerivation {
name = "libIDL-0.8.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.2.tar.bz2;
md5 = "a75d2dbf3a3c66b567047c94245f8b82";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
lex = lex;

View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs=""
. $stdenv/setup || exit 1

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "libart_lgpl-2.3.16";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libart_lgpl-2.3.16.tar.bz2;
md5 = "6bb13292b00649d01400a5b29a6c87cb";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/gnome/libbonobo/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $ORBit2 $libxml2 $popt $yacc $flex"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && perl != null && ORBit2 != null
&& libxml2 != null && popt != null && yacc != null && flex != null;
derivation {
stdenv.mkDerivation {
name = "libbonobo-2.4.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libbonobo/2.4/libbonobo-2.4.2.tar.bz2;
md5 = "78200cc6ed588c93f0d29177a5f3e003";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
ORBit2 = ORBit2;

View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $libxml2 $libglade $libgnome \
$libgnomecanvas"
. $stdenv/setup

View File

@@ -4,15 +4,13 @@
assert pkgconfig != null && perl != null && libxml2 != null
&& libglade != null && libgnome != null && libgnomecanvas != null;
derivation {
stdenv.mkDerivation {
name = "libbonoboui-2.4.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libbonoboui-2.4.1.tar.bz2;
md5 = "943a2d0e9fc7b9f0e97ba869de0c5f2a";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
libxml2 = libxml2;

2
pkgs/development/libraries/gnome/libglade/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $gtk $libxml2"
. $stdenv/setup

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && gtk != null && libxml2 != null;
derivation {
stdenv.mkDerivation {
name = "libglade-2.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libglade-2.0.1.tar.bz2;
md5 = "4d93f6b01510013ae429e91af432cfe2";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libxml2 = libxml2;

2
pkgs/development/libraries/gnome/libgnome/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $glib $gnomevfs $libbonobo $GConf \
$popt $zlib"
. $stdenv/setup

View File

@@ -10,15 +10,13 @@ assert pkgconfig != null && perl != null && glib != null
# "WARNING: failed to install schema `/schemas/desktop/gnome/url-handlers/https/need-terminal' locale `is': Failed:
# Failed to create file `/nix/store/14d4fc76451786eba9dea087d56dc719-GConf-2.4.0/etc/gconf/gconf.xml.defaults/%gconf.xml': Permission denied"
derivation {
stdenv.mkDerivation {
name = "libgnome-2.0.6";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libgnome/2.4/libgnome-2.4.0.tar.bz2;
md5 = "caec1e12d64b98a2925a4317ac16429f";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
glib = glib;

View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $gtk $libart $libglade"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && gtk != null && libart != null
&& libglade != null;
derivation {
stdenv.mkDerivation {
name = "libgnomecanvas-2.4.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libgnomecanvas-2.4.0.tar.bz2;
md5 = "c212a7cac06b7f9e68ed2de38df6e54d";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libart = libart;

2
pkgs/development/libraries/gnome/libgnomeui/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $libgnome $libgnomecanvas $libbonoboui $libglade"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && libgnome != null && libgnomecanvas != null
&& libbonoboui != null && libglade != null;
derivation {
stdenv.mkDerivation {
name = "libgnomeui-2.4.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libgnomeui-2.4.0.1.tar.bz2;
md5 = "196f4a3f1f4a531ff57acaa879e98dd2";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
libgnome = libgnome;
libgnomecanvas = libgnomecanvas;

View File

@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -3,9 +3,8 @@
assert gtk != null && libtiff != null
&& libjpeg != null && libpng != null;
derivation {
stdenv.mkDerivation {
name = "gdk-pixbuf-0.22.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
@@ -14,5 +13,4 @@ derivation {
};
buildInputs = [gtk libtiff libjpeg libpng];
inherit stdenv;
}

View File

@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "glib-1.2.10";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz;
md5 = "6fe30dad87c77b91b632def29dd69ef9";
};
inherit stdenv;
}

1
pkgs/development/libraries/gtk+-1/gtk+/builder.sh Executable file → Normal file
View File

@@ -1,4 +1,3 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild

View File

@@ -3,9 +3,8 @@
assert x11 != null && glib != null;
assert x11.buildClientLibs;
derivation {
stdenv.mkDerivation {
name = "gtk+-1.2.10";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
@@ -15,5 +14,4 @@ derivation {
buildInputs = [x11 glib];
_propagatedBuildInputs = [x11 glib];
inherit stdenv;
}

2
pkgs/development/libraries/gtk+/atk/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $glib"
. $stdenv/setup

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && glib != null && perl != null;
derivation {
stdenv.mkDerivation {
name = "atk-1.2.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/atk-1.2.4.tar.bz2;
md5 = "2d6d50df31abe0e8892b5d3e7676a02d";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
perl = perl;

2
pkgs/development/libraries/gtk+/glib/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $gettext $perl"
. $stdenv/setup || exit 1

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && gettext != null && perl != null;
derivation {
stdenv.mkDerivation {
name = "glib-2.2.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.3.tar.bz2;
md5 = "aa214a10d873b68ddd67cd9de2ccae55";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gettext = gettext;
perl = perl;

2
pkgs/development/libraries/gtk+/gtk+/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $x11 $glib $atk $pango $perl $libtiff $libjpeg $libpng"
. $stdenv/setup

View File

@@ -9,15 +9,13 @@ assert glib == atk.glib;
assert glib == pango.glib;
assert x11 == pango.x11;
derivation {
stdenv.mkDerivation {
name = "gtk+-2.2.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-2.2.4.tar.bz2;
md5 = "605332199533e73bc6eec481fb4f1671";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
x11 = x11;
glib = glib;

2
pkgs/development/libraries/gtk+/pango/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $x11 $glib $xft"
. $stdenv/setup

View File

@@ -4,15 +4,13 @@ assert pkgconfig != null && x11 != null && glib != null && xft != null;
assert x11.buildClientLibs;
assert xft.x11 == x11;
derivation {
stdenv.mkDerivation {
name = "pango-1.2.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.2/pango-1.2.5.tar.bz2;
md5 = "df00fe3e71cd297010f24f439b6c8ee6";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
x11 = x11;
glib = glib;

2
pkgs/development/libraries/libdvdcss/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "libdvdcss-1.2.8";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/libdvdcss-1.2.8.tar.gz;
md5 = "e35e4240b6ca0b66a0218065dffe6adb";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/libdvdplay/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$libdvdread"
. $stdenv/setup || exit 1

View File

@@ -2,14 +2,12 @@
assert libdvdread != null;
derivation {
stdenv.mkDerivation {
name = "libdvdplay-1.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/libdvdplay/1.0.1/libdvdplay-1.0.1.tar.bz2;
md5 = "602bca4ef78d79aa87e5e8920d958a78";
};
stdenv = stdenv;
libdvdread = libdvdread;
}

2
pkgs/development/libraries/libdvdread/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$libdvdcss"
. $stdenv/setup || exit 1

View File

@@ -2,14 +2,12 @@
assert libdvdcss != null;
derivation {
stdenv.mkDerivation {
name = "libdvdread-20030812";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/libdvdread-20030812.tar.bz2;
md5 = "9d58beac7c2dfb98d00f4ed0ea3d7274";
};
stdenv = stdenv;
libdvdcss = libdvdcss;
}

2
pkgs/development/libraries/libjpeg/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "libjpeg-6b";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.ijg.org/files/jpegsrc.v6b.tar.gz;
md5 = "dbd5f3b47ed13132f04c685d608a7547";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/libmad/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "libmad-0.15.0b";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/mad/libmad-0.15.0b.tar.gz;
md5 = "2e4487cdf922a6da2546bad74f643205";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/libpng/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildInputs="$zlib"
. $stdenv/setup

View File

@@ -2,14 +2,12 @@
assert zlib != null;
derivation {
stdenv.mkDerivation {
name = "libpng-1.2.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/png-mng/libpng-1.2.5.tar.bz2;
md5 = "3fc28af730f12ace49b14568de4ad934";
};
stdenv = stdenv;
zlib = zlib;
}

2
pkgs/development/libraries/libtiff/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$zlib $libjpeg"
. $stdenv/setup

View File

@@ -2,15 +2,13 @@
assert zlib != null && libjpeg != null;
derivation {
stdenv.mkDerivation {
name = "libtiff-3.5.7";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.remotesensing.org/pub/libtiff/tiff-v3.5.7.tar.gz;
md5 = "82243b5ae9b7c9e492aeebc501680990";
};
stdenv = stdenv;
zlib = zlib;
libjpeg = libjpeg;
}

2
pkgs/development/libraries/libxml2/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$zlib"
. $stdenv/setup

View File

@@ -2,14 +2,12 @@
assert zlib != null;
derivation {
stdenv.mkDerivation {
name = "libxml2-2.6.7";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.7.tar.bz2;
md5 = "bdbef92cbdc5b4bd0365313ba22b75ce";
};
stdenv = stdenv;
zlib = zlib;
}

2
pkgs/development/libraries/libxslt/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$libxml2"
. $stdenv/setup || exit 1

View File

@@ -2,14 +2,12 @@
assert libxml2 != null;
derivation {
stdenv.mkDerivation {
name = "libxslt-1.1.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://xmlsoft.org/libxslt-1.1.0.tar.gz;
md5 = "79a2c5307812e813e14f18b6fef9ca87";
};
stdenv = stdenv;
libxml2 = libxml2;
}

2
pkgs/development/libraries/mpeg2dec/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1

View File

@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "mpeg2dec-20030612";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.0.tar.gz;
md5 = "49a70fef1b0f710ed7e64ed32ee82d4d";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/ncurses/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs=""
. $stdenv/setup

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "ncurses-5.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.4.tar.gz;
md5 = "069c8880072060373290a4fefff43520";
};
inherit stdenv;
}

2
pkgs/development/libraries/openssl/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
export PATH=$perl/bin:$PATH

View File

@@ -1,10 +1,9 @@
{stdenv, fetchurl, perl}: derivation {
{stdenv, fetchurl, perl}: stdenv.mkDerivation {
name = "openssl-0.9.7d";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.7d.tar.gz;
md5 = "1b49e90fc8a75c3a507c0a624529aca5";
};
inherit stdenv perl;
inherit perl;
}

Some files were not shown because too many files have changed in this diff Show More