at 22.05-pre 45 lines 1.4 kB view raw
1{ mkDerivation, lib, fetchurl 2, pkg-config, libtool, qmake 3, rsync, ssh 4}: 5 6with lib; 7mkDerivation rec { 8 pname = "luckybackup"; 9 version = "0.5.0"; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/project/luckybackup/${version}/source/${pname}-${version}.tar.gz"; 13 sha256 = "0nwjsk1j33pm8882jbj8h6nxn6n5ab9dxqpqkay65pfbhcjay0g8"; 14 }; 15 16 buildInputs = [ rsync ssh ]; 17 18 nativeBuildInputs = [ pkg-config libtool qmake ]; 19 20 prePatch = '' 21 for File in luckybackup.pro menu/luckybackup-pkexec \ 22 menu/luckybackup-su.desktop menu/luckybackup.desktop \ 23 menu/net.luckybackup.su.policy src/functions.cpp \ 24 src/global.cpp src/scheduleDialog.cpp; do 25 substituteInPlace $File --replace "/usr" "$out" 26 done 27 ''; 28 29 meta = { 30 description = "A powerful, fast and reliable backup & sync tool"; 31 longDescription = '' 32 luckyBackup is an application for data back-up and synchronization 33 powered by the rsync tool. 34 35 It is simple to use, fast (transfers over only changes made and not 36 all data), safe (keeps your data safe by checking all declared directories 37 before proceeding in any data manipulation), reliable and fully 38 customizable. 39 ''; 40 homepage = "http://luckybackup.sourceforge.net/"; 41 license = licenses.gpl3; 42 maintainers = with maintainers; [ AndersonTorres ]; 43 platforms = platforms.linux; 44 }; 45}