nixpkgs-suyu/pkgs/tools/backup/bacula/default.nix

31 lines
767 B
Nix
Raw Normal View History

{stdenv, fetchurl, sqlite, postgresql, zlib, acl, ncurses, openssl, readline}:
stdenv.mkDerivation rec {
name = "bacula-5.2.13";
src = fetchurl {
url = "mirror://sourceforge/bacula/${name}.tar.gz";
2013-02-21 21:18:26 +01:00
sha256 = "1n3sc0kd7r0afpyi708y3md0a24rbldnfcdz0syqj600pxcd9gm4";
};
buildInputs = [ postgresql sqlite zlib acl ncurses openssl readline ];
configureFlags = [
"--with-sqlite3=${sqlite}"
"--with-postgresql=${postgresql}"
];
2013-03-27 02:24:55 +01:00
postInstall = ''
mkdir -p $out/bin
ln -s $out/sbin/* $out/bin
'';
meta = {
description = "Enterprise ready, Network Backup Tool";
homepage = http://bacula.org/;
license = "GPLv2";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
}