nixpkgs/pkgs/tools/package-management/nix/sqlite.nix
Eelco Dolstra 854b22a24e * Updated nixSqlite.
svn path=/nixpkgs/trunk/; revision=20520
2010-03-10 09:58:19 +00:00

32 lines
762 B
Nix

{ stdenv, fetchurl, aterm, perl, curl, bzip2, sqlite, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
stdenv.mkDerivation rec {
name = "nix-0.15pre20493";
src = fetchurl {
url = "http://hydra.nixos.org/build/316254/download/4/${name}.tar.bz2";
sha256 = "da80ea3beaf9c6c62620850ff770202f43553a6719bb8046eb2be6ece4a26fec";
};
buildInputs = [perl curl openssl];
configureFlags = ''
--with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-aterm=${aterm} --with-bzip2=${bzip2} --with-sqlite=${sqlite}
--disable-init-state
'';
doCheck = true;
passthru = { inherit aterm; };
meta = {
description = "The Nix Deployment System";
homepage = http://nixos.org/;
license = "LGPL";
};
}