3
0
Fork 0
forked from mirrors/nixpkgs

bacula: fix build on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-09-06 10:33:28 +10:00
parent 86c7583ab4
commit 7bfeed07e0

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, sqlite, postgresql, zlib, acl, ncurses, openssl, readline}:
{ stdenv, fetchurl, sqlite, postgresql, zlib, acl, ncurses, openssl, readline }:
stdenv.mkDerivation rec {
name = "bacula-5.2.13";
@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "1n3sc0kd7r0afpyi708y3md0a24rbldnfcdz0syqj600pxcd9gm4";
};
buildInputs = [ postgresql sqlite zlib acl ncurses openssl readline ];
buildInputs = [ postgresql sqlite zlib ncurses openssl readline ]
# acl relies on attr, which I can't get to build on darwin
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
configureFlags = [
"--with-sqlite3=${sqlite}"
@ -20,11 +22,11 @@ stdenv.mkDerivation rec {
ln -s $out/sbin/* $out/bin
'';
meta = {
meta = with stdenv.lib; {
description = "Enterprise ready, Network Backup Tool";
homepage = http://bacula.org/;
license = "GPLv2";
maintainers = with maintainers; [ iElectric lovek323 ];
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
}