* 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/scrollkeeper/builder.sh Executable file → Normal file
View File

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

View File

@@ -6,15 +6,13 @@ assert perl != null && libxml2 != null && libxslt != null
# !!! seems to need iconv, but cannot find it since $glibc/bin is not in PATH
derivation {
stdenv.mkDerivation {
name = "scrollkeeper-0.3.14";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/scrollkeeper/scrollkeeper-0.3.14.tar.gz;
md5 = "161eb3f29e30e7b24f84eb93ac696155";
};
stdenv = stdenv;
perl = perl;
libxml2 = libxml2;
libxslt = libxslt;