nixpkgs/pkgs/tools/package-management/nix/sqlite.nix

32 lines
762 B
Nix
Raw Normal View History

{ stdenv, fetchurl, aterm, perl, curl, bzip2, sqlite, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
stdenv.mkDerivation rec {
name = "nix-0.15pre20364";
src = fetchurl {
url = "http://hydra.nixos.org/build/310441/download/4/${name}.tar.bz2";
sha256 = "a3ef50d9ec084f13a948156a7e19c60d993f6c196e6fabebd35fc08b92dfd21a";
};
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";
};
}