timeshift: 24.06.6 -> 25.07.4 (#430367)

authored by Bobby Rong and committed by GitHub 3a6b8fd5 fe18ee81

+5 -5
+2
pkgs/applications/backup/timeshift/default.nix
··· 3 btrfs-progs, 4 coreutils, 5 cron, 6 grubPackage, 7 mount, 8 psmisc, ··· 17 btrfs-progs 18 coreutils 19 cron 20 grubPackage 21 mount 22 psmisc
··· 3 btrfs-progs, 4 coreutils, 5 cron, 6 + debianutils, 7 grubPackage, 8 mount, 9 psmisc, ··· 18 btrfs-progs 19 coreutils 20 cron 21 + debianutils 22 grubPackage 23 mount 24 psmisc
+3 -5
pkgs/applications/backup/timeshift/unwrapped.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "timeshift"; 21 - version = "24.06.6"; 22 23 src = fetchFromGitHub { 24 owner = "linuxmint"; 25 repo = "timeshift"; 26 rev = version; 27 - hash = "sha256-umMekxP9bvV01KzfIh2Zxa9Xb+tR5x+tG9dOnBIOkjY="; 28 }; 29 30 postPatch = '' ··· 37 --replace-fail "/usr/share" "$out/share" 38 39 # Substitute app_command to look for the `timeshift-gtk` in $out. 40 - # Substitute the `pkexec ...` as a hack to run a GUI application like Timeshift as root without setting up the corresponding pkexec policy. 41 substituteInPlace ./src/timeshift-launcher \ 42 - --replace-fail "app_command='timeshift-gtk'" "app_command=$out/bin/timeshift-gtk" \ 43 - --replace-fail ${lib.escapeShellArg ''pkexec ''${app_command}''} ${lib.escapeShellArg ''pkexec env DISPLAY="$DISPLAY" XAUTHORITY="$XAUTHORITY" "''${app_command}"''} 44 ''; 45 46 nativeBuildInputs = [
··· 18 19 stdenv.mkDerivation rec { 20 pname = "timeshift"; 21 + version = "25.07.4"; 22 23 src = fetchFromGitHub { 24 owner = "linuxmint"; 25 repo = "timeshift"; 26 rev = version; 27 + hash = "sha256-yrLpEhSt7QB0qWCXjIjTVeXKRpgue2pVdV+6hSixeuA="; 28 }; 29 30 postPatch = '' ··· 37 --replace-fail "/usr/share" "$out/share" 38 39 # Substitute app_command to look for the `timeshift-gtk` in $out. 40 substituteInPlace ./src/timeshift-launcher \ 41 + --replace-fail "app_command='timeshift-gtk'" "app_command=$out/bin/timeshift-gtk" 42 ''; 43 44 nativeBuildInputs = [