backintime: 1.3.3 -> 1.4.3

+7 -6
+4 -2
pkgs/applications/networking/sync/backintime/common.nix
··· 7 apps = lib.makeBinPath [ openssh python' cron rsync sshfs-fuse encfs ]; 8 in stdenv.mkDerivation rec { 9 pname = "backintime-common"; 10 - version = "1.3.3"; 11 12 src = fetchFromGitHub { 13 owner = "bit-team"; 14 repo = "backintime"; 15 rev = "v${version}"; 16 - sha256 = "sha256-cKmzq155/dCl5wZA2SE3XjfCocHxTh4Wa2IdfzSfQHg="; 17 }; 18 19 nativeBuildInputs = [ makeWrapper gettext ]; 20 buildInputs = [ python' ]; 21 22 installFlags = [ "DEST=$(out)" ]; 23 24 preConfigure = '' 25 cd common
··· 7 apps = lib.makeBinPath [ openssh python' cron rsync sshfs-fuse encfs ]; 8 in stdenv.mkDerivation rec { 9 pname = "backintime-common"; 10 + version = "1.4.3"; 11 12 src = fetchFromGitHub { 13 owner = "bit-team"; 14 repo = "backintime"; 15 rev = "v${version}"; 16 + sha256 = "sha256-2q2Q4rnxXwVnfH1YEBwY35B2ctG9+qpOIAHqPOjjArg="; 17 }; 18 19 nativeBuildInputs = [ makeWrapper gettext ]; 20 buildInputs = [ python' ]; 21 22 installFlags = [ "DEST=$(out)" ]; 23 + 24 + configureFlags = [ "--python=${lib.getExe python'}" ]; 25 26 preConfigure = '' 27 cd common
+3 -4
pkgs/applications/networking/sync/backintime/qt.nix
··· 11 12 buildInputs = [ python' backintime-common ]; 13 14 preConfigure = '' 15 cd qt 16 - substituteInPlace configure \ 17 - --replace '"/../etc' '"/etc' 18 - substituteInPlace qttools.py \ 19 --replace "__file__, os.pardir, os.pardir" '"${backintime-common}/${python'.sitePackages}/backintime"' 20 ''; 21 ··· 37 --replace "/usr/bin/ionice" "${lib.getBin util-linux}/bin/ionice" 38 39 substituteInPlace "$out/share/dbus-1/system-services/net.launchpad.backintime.serviceHelper.service" \ 40 - --replace "/usr/bin/python3" "${lib.getBin python'}/bin/python3" \ 41 --replace "/usr/share/backintime" "$out/share/backintime" 42 43 substituteInPlace "$out/bin/backintime-qt_polkit" \
··· 11 12 buildInputs = [ python' backintime-common ]; 13 14 + configureFlags = [ "--python=${lib.getExe python'}" ]; 15 + 16 preConfigure = '' 17 cd qt 18 + substituteInPlace qttools_path.py \ 19 --replace "__file__, os.pardir, os.pardir" '"${backintime-common}/${python'.sitePackages}/backintime"' 20 ''; 21 ··· 37 --replace "/usr/bin/ionice" "${lib.getBin util-linux}/bin/ionice" 38 39 substituteInPlace "$out/share/dbus-1/system-services/net.launchpad.backintime.serviceHelper.service" \ 40 --replace "/usr/share/backintime" "$out/share/backintime" 41 42 substituteInPlace "$out/bin/backintime-qt_polkit" \