summary refs log tree commit diff
path: root/pkgs/tools/backup/burp/1.3.48.nix
blob: bff46992d8b438b2c689b01a1b819b3251c1d0f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchgit, acl, librsync_0_9, ncurses, openssl, zlib }:

stdenv.mkDerivation rec {
  name = "burp-1.3.48";

  src = fetchgit {
    url = "https://github.com/grke/burp.git";
    rev = "3636ce0a992904a374234d68170fc1c265bff357";
    sha256 = "1vycivml5r87y4fmcpi9q82nhiydrq3zqvkr2gsp9d1plwsbgizz";
  };

  patches = [ ./burp_1.3.48.patch ];

  buildInputs = [ librsync_0_9 ncurses openssl zlib ]
    # next two lines copied from bacula, as burp needs acl as well
    # acl relies on attr, which I can't get to build on darwin
    ++ stdenv.lib.optional (!stdenv.isDarwin) acl;

  configureFlags = [
      "--sbindir=$out/bin"
  ];

  meta = with stdenv.lib; {
    description = "BURP - BackUp and Restore Program";
    homepage    = http://burp.grke.org;
    license     = licenses.agpl3;
    maintainers = with maintainers; [ tokudan ];
    platforms   = platforms.all;
  };
}