2008-01-01 03:30:41 -08:00
|
|
|
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
|
2004-03-31 02:19:01 -08:00
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
2004-02-16 08:54:01 -08:00
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
stdenv.mkDerivation {
|
2008-01-01 03:30:41 -08:00
|
|
|
name = "nix-0.11";
|
2006-10-11 08:31:52 -07:00
|
|
|
|
2004-02-16 07:40:55 -08:00
|
|
|
src = fetchurl {
|
2008-01-01 03:30:41 -08:00
|
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.11/nix-0.11.tar.bz2;
|
|
|
|
md5 = "890c25ac0005ff466683869efc288b67";
|
2004-02-16 07:40:55 -08:00
|
|
|
};
|
2006-10-11 08:31:52 -07:00
|
|
|
|
2008-01-01 03:30:41 -08:00
|
|
|
buildInputs = [perl curl openssl];
|
2006-10-11 08:31:52 -07:00
|
|
|
|
|
|
|
configureFlags = "
|
|
|
|
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
|
|
|
--with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
|
|
|
|
--disable-init-state";
|
2006-10-11 09:45:55 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Nix Deployment System";
|
2007-10-19 04:38:58 -07:00
|
|
|
homepage = http://nix.cs.uu.nl/;
|
2007-11-05 03:22:37 -08:00
|
|
|
license = "LGPL";
|
2006-10-11 09:45:55 -07:00
|
|
|
};
|
2004-02-16 07:40:55 -08:00
|
|
|
}
|