2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2020-04-24 23:36:52 +00:00
|
|
|
, acl, librsync, ncurses, openssl, zlib, uthash }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "burp";
|
|
|
|
version = "2.2.18";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grke";
|
|
|
|
repo = "burp";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1zhq240kz881vs2s620qp0kifmgr582caalm85ls789w9rmdkhjl";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ librsync ncurses openssl zlib uthash ]
|
2021-01-15 22:18:51 +00:00
|
|
|
++ lib.optional (!stdenv.isDarwin) acl;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--localstatedir=/var" ];
|
|
|
|
|
|
|
|
installFlags = [ "localstatedir=/tmp" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "BURP - BackUp and Restore Program";
|
|
|
|
homepage = "https://burp.grke.org";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ tokudan ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|