2015-11-04 19:22:39 +01:00
|
|
|
{ stdenv, fetchgit, acl, librsync, ncurses, openssl, zlib }:
|
2015-11-03 21:37:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "burp-1.4.40";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/grke/burp.git";
|
|
|
|
rev = "1e8eebac420f2b0dc29102602b7e5e437d58d5b7";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "02gpgcyg1x0bjk8349019zp3m002lmdhil6g6n8xv0kzz54v6gaw";
|
2015-11-03 21:37:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./burp_1.4.40.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ librsync 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 19:22:39 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--sbindir=$out/bin"
|
|
|
|
];
|
2015-11-03 21:37:19 +01: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;
|
|
|
|
};
|
|
|
|
}
|