nixpkgs/pkgs/tools/package-management/nix/sqlite.nix
2010-06-21 08:38:45 +00:00

31 lines
727 B
Nix

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