3
0
Fork 0
forked from mirrors/nixpkgs

bacula: add postgresql support, add myself as maintainer and set meta.platforms

This commit is contained in:
Domen Kozar 2013-03-22 01:53:41 +01:00
parent 208a35558e
commit 1ee0f43bb1

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 { stdenv.mkDerivation rec {
name = "bacula-5.2.13"; name = "bacula-5.2.13";
@ -8,13 +8,18 @@ stdenv.mkDerivation rec {
sha256 = "1n3sc0kd7r0afpyi708y3md0a24rbldnfcdz0syqj600pxcd9gm4"; 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 = { meta = {
description = "Enterprise ready, Network Backup Tool"; description = "Enterprise ready, Network Backup Tool";
homepage = http://bacula.org/; homepage = http://bacula.org/;
license = "GPLv2"; license = "GPLv2";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.iElectric ];
}; };
} }