From c10bdc23cd80c167ede24dbe41543bb8c2ca1eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 5 Aug 2011 19:18:02 +0000 Subject: [PATCH] Simple packaging of bacula. svn path=/nixpkgs/trunk/; revision=28182 --- pkgs/tools/backup/bacula/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/tools/backup/bacula/default.nix diff --git a/pkgs/tools/backup/bacula/default.nix b/pkgs/tools/backup/bacula/default.nix new file mode 100644 index 000000000000..c6ad08768231 --- /dev/null +++ b/pkgs/tools/backup/bacula/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, sqlite, zlib, acl, ncurses, openssl, readline}: + +stdenv.mkDerivation { + name = "bacula-5.0.3"; + + src = fetchurl { + url = mirror://sourceforge/bacula/bacula-5.0.3.tar.gz; + sha256 = "1d7x6jw5x9ljbdxvcc8k635lsxcbxw9kzjyxf6l4zsdv3275j1cr"; + }; + + buildInputs = [ sqlite zlib acl ncurses openssl readline ]; + + configureFlags = [ "--with-sqlite3=${sqlite}" ]; + + meta = { + description = "Enterprise ready, Network Backup Tool"; + homepage = http://bacula.org/; + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c85367b25379..c7d263f9bfe2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -437,6 +437,8 @@ let autossh = callPackage ../tools/networking/autossh { }; + bacula = callPackage ../tools/backup/bacula { }; + bibtextools = callPackage ../tools/typesetting/bibtex-tools { inherit (strategoPackages016) strategoxt sdf; };