Merge pull request #400 from iElectric/bacula_improvements

bacula: add postgresql support, add myself as maintainer and set meta.platforms
This commit is contained in:
Rok Garbas 2013-03-22 05:14:37 -07:00
commit fb1f25e532

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, sqlite, zlib, acl, ncurses, openssl, readline}:
{stdenv, fetchurl, sqlite, postgresql, zlib, acl, ncurses, openssl, readline}:
stdenv.mkDerivation rec {
name = "bacula-5.2.13";
@ -8,13 +8,18 @@ stdenv.mkDerivation rec {
sha256 = "1n3sc0kd7r0afpyi708y3md0a24rbldnfcdz0syqj600pxcd9gm4";
};
buildInputs = [ sqlite zlib acl ncurses openssl readline ];
buildInputs = [ postgresql sqlite zlib acl ncurses openssl readline ];
configureFlags = [ "--with-sqlite3=${sqlite}" ];
configureFlags = [
"--with-sqlite3=${sqlite}"
"--with-postgresql=${postgresql}"
];
meta = {
description = "Enterprise ready, Network Backup Tool";
homepage = http://bacula.org/;
license = "GPLv2";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
}