3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/luckybackup/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.4 KiB
Nix
Raw Normal View History

{ mkDerivation, lib, fetchurl
, pkg-config, libtool, qmake
2019-12-30 02:25:43 +00:00
, rsync, ssh
}:
2021-01-15 09:19:50 +00:00
with lib;
2020-04-07 21:33:53 +01:00
mkDerivation rec {
2019-12-30 02:25:43 +00:00
pname = "luckybackup";
version = "0.5.0";
src = fetchurl {
url = "mirror://sourceforge/project/luckybackup/${version}/source/${pname}-${version}.tar.gz";
sha256 = "0nwjsk1j33pm8882jbj8h6nxn6n5ab9dxqpqkay65pfbhcjay0g8";
};
buildInputs = [ rsync ssh ];
nativeBuildInputs = [ pkg-config libtool qmake ];
2021-01-15 09:19:50 +00:00
2019-12-30 02:25:43 +00:00
prePatch = ''
for File in luckybackup.pro menu/luckybackup-pkexec \
menu/luckybackup-su.desktop menu/luckybackup.desktop \
menu/net.luckybackup.su.policy src/functions.cpp \
src/global.cpp src/scheduleDialog.cpp; do
substituteInPlace $File --replace "/usr" "$out"
done
'';
meta = {
description = "A powerful, fast and reliable backup & sync tool";
longDescription = ''
2021-01-15 09:19:50 +00:00
luckyBackup is an application for data back-up and synchronization
2019-12-30 02:25:43 +00:00
powered by the rsync tool.
2021-01-15 09:19:50 +00:00
2019-12-30 02:25:43 +00:00
It is simple to use, fast (transfers over only changes made and not
all data), safe (keeps your data safe by checking all declared directories
2021-01-15 09:19:50 +00:00
before proceeding in any data manipulation), reliable and fully
2019-12-30 02:25:43 +00:00
customizable.
'';
homepage = "http://luckybackup.sourceforge.net/";
license = licenses.gpl3;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}