Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ec8fd9cc3450
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 37381f6e600c
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 20, 2020

  1. Copy the full SHA
    7c4f845 View commit details

Commits on Jan 22, 2020

  1. Merge pull request #76682 from AndersonTorres/update/luckybackup

    luckybackup: init at 0.5.0
    AndersonTorres authored Jan 22, 2020
    Copy the full SHA
    37381f6 View commit details
Showing with 49 additions and 0 deletions.
  1. +45 −0 pkgs/tools/backup/luckybackup/default.nix
  2. +4 −0 pkgs/top-level/all-packages.nix
45 changes: 45 additions & 0 deletions pkgs/tools/backup/luckybackup/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -2956,6 +2956,10 @@ in

epubcheck = callPackage ../tools/text/epubcheck { };

luckybackup = libsForQt5.callPackage ../tools/backup/luckybackup {
ssh = openssh;
};

mcrcon = callPackage ../tools/networking/mcrcon {};

rage = callPackage ../tools/security/rage {