2004-04-08 07:17:47 -07:00
|
|
|
{ stdenv, fetchurl, aterm, bdb, perl, curl
|
2004-03-31 02:19:01 -08:00
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
2004-02-16 08:54:01 -08:00
|
|
|
|
2004-03-31 02:19:01 -08:00
|
|
|
assert aterm != null && bdb != null && perl != null;
|
2004-02-16 08:54:01 -08:00
|
|
|
# assert bdb.version >= 4.2
|
|
|
|
# assert aterm.version >= 2.0
|
2004-02-16 07:40:55 -08:00
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
stdenv.mkDerivation {
|
2006-10-08 15:04:44 -07:00
|
|
|
name = "nix-0.10";
|
2004-02-16 07:40:55 -08:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-10-08 15:04:44 -07:00
|
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.10/nix-0.10.tar.bz2;
|
|
|
|
md5 = "2e5db8be894b28873b5bb1b25194955f";
|
2004-02-16 07:40:55 -08:00
|
|
|
};
|
2004-04-08 07:17:47 -07:00
|
|
|
buildInputs = [aterm bdb perl curl];
|
2004-03-31 02:19:01 -08:00
|
|
|
inherit storeDir stateDir aterm bdb;
|
2004-02-16 07:40:55 -08:00
|
|
|
}
|