* 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
View File
@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$python $wxPython"
. $stdenv/setup
+2 -3
View File
@@ -2,14 +2,13 @@
assert wxPython.python.zlibSupport;
derivation {
stdenv.mkDerivation {
name = "bittorrent-3.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://bitconjurer.org/BitTorrent/BitTorrent-3.3.tar.gz;
md5 = "1ecf1fc40b4972470313f9ae728206e8";
};
python = wxPython.python;
inherit stdenv wxPython;
inherit wxPython;
}
-2
View File
@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
+1 -3
View File
@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "cksfv-1.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.fodder.org/cksfv/cksfv-1.3.tar.gz;
md5 = "e00cf6a80a566539eb6f3432f2282c38";
};
stdenv = stdenv;
}
-4
View File
@@ -1,4 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
configureFlags="--without-ssl"
genericBuild
+2 -3
View File
@@ -1,13 +1,12 @@
{stdenv, fetchurl, zlib}:
derivation {
stdenv.mkDerivation {
name = "curl-7.11.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://curl.haxx.se/download/curl-7.11.1.tar.bz2;
md5 = "c2af7c3364a1a8839516f74961b6bd11";
};
buildInputs = [zlib];
inherit stdenv;
configureFlags = "--without-ssl";
}
-2
View File
@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
@@ -1,10 +1,8 @@
{stdenv, fetchurl}: derivation {
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "par2cmdline-0.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.3.tar.gz;
md5 = "705c97bc41b862d281dd41c219a60849";
};
stdenv = stdenv;
}
-3
View File
@@ -1,3 +0,0 @@
#! /bin/sh -e
. $stdenv/setup
genericBuild
+1 -3
View File
@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "wget-1.9.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nl.net/pub/gnu/wget/wget-1.9.1.tar.gz;
md5 = "e6051f1e1487ec0ebfdbda72bedc70ad";
};
inherit stdenv;
}