From 1ee0f43bb1aff87207094fd18647bb460b2d8a31 Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Fri, 22 Mar 2013 01:53:41 +0100 Subject: [PATCH] bacula: add postgresql support, add myself as maintainer and set meta.platforms --- pkgs/tools/backup/bacula/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/backup/bacula/default.nix b/pkgs/tools/backup/bacula/default.nix index 5f3cb2b48d38..ad594c0ea48f 100644 --- a/pkgs/tools/backup/bacula/default.nix +++ b/pkgs/tools/backup/bacula/default.nix @@ -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 ]; }; }