2015-11-04 18:22:39 +00:00
|
|
|
{ stdenv, fetchgit, acl, librsync_0_9, ncurses, openssl, zlib }:
|
2015-11-03 20:37:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "burp-1.3.48";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/grke/burp.git";
|
|
|
|
rev = "3636ce0a992904a374234d68170fc1c265bff357";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1vycivml5r87y4fmcpi9q82nhiydrq3zqvkr2gsp9d1plwsbgizz";
|
2015-11-03 20:37:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2015-11-04 18:22:39 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--sbindir=$out/bin"
|
|
|
|
];
|
2015-11-03 20:37:19 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|