diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2019-12-29 23:25:43 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-01-20 07:39:01 -0300 |
commit | 7c4f84555148fa88f0c441b28447220e512657d9 (patch) | |
tree | d29c36a6e31788681230e691c3db22f6242697e7 /pkgs/tools/backup | |
parent | 07b8ab4ff791dc8bcfeea643fd9a1fbedc534bbd (diff) | |
download | nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.tar nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.tar.gz nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.tar.bz2 nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.tar.lz nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.tar.xz nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.tar.zst nixpkgs-7c4f84555148fa88f0c441b28447220e512657d9.zip |
luckybackup: init at 0.5.0
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/luckybackup/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/backup/luckybackup/default.nix b/pkgs/tools/backup/luckybackup/default.nix new file mode 100644 index 00000000000..3e89be15391 --- /dev/null +++ b/pkgs/tools/backup/luckybackup/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchurl +, pkgconfig, libtool, qmake +, rsync, ssh +}: + +with stdenv.lib; +stdenv.mkDerivation rec { + 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 = [ pkgconfig libtool qmake ]; + + 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 = '' + luckyBackup is an application for data back-up and synchronization + powered by the rsync tool. + + 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 + before proceeding in any data manipulation), reliable and fully + customizable. + ''; + homepage = "http://luckybackup.sourceforge.net/"; + license = licenses.gpl3; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.linux; + }; +} |