diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-04-21 11:32:02 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-04-21 11:32:02 +0800 |
commit | e6c5c87682781937fed55ef433bb1e719650f5b2 (patch) | |
tree | bbab5cb66661fd9bda56498dee7a543ecfca7ede /pkgs/applications/networking/p2p | |
parent | 555daa9d339b3df75e58ee558a4fec98ea92521e (diff) |
torrential: 2.0.1 -> 3.0.0
https://github.com/davidmhewitt/torrential/compare/2.0.1...3.0.0
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/torrential/default.nix | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/applications/networking/p2p/torrential/default.nix b/pkgs/applications/networking/p2p/torrential/default.nix index 4cf4e1becf053..cfc10c3f7466f 100644 --- a/pkgs/applications/networking/p2p/torrential/default.nix +++ b/pkgs/applications/networking/p2p/torrential/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ stdenv +, lib , fetchFromGitHub , nix-update-script , desktop-file-utils @@ -7,11 +8,11 @@ , pkg-config , python3 , vala -, wrapGAppsHook +, wrapGAppsHook4 , curl , dht , glib -, gtk3 +, gtk4 , libb64 , libevent , libgee @@ -25,13 +26,13 @@ stdenv.mkDerivation rec { pname = "torrential"; - version = "2.0.1"; + version = "3.0.0"; src = fetchFromGitHub { owner = "davidmhewitt"; repo = "torrential"; rev = version; - sha256 = "sha256-W9Is6l8y5XSlPER2BLlf+cyMPPdEQuaP4xM59VhfDE0="; + sha256 = "sha256-uHc/VNtbhetmGyuhynZH1TvxJscVX17eWO6dzX6Ft3A="; }; nativeBuildInputs = [ @@ -41,14 +42,14 @@ stdenv.mkDerivation rec { pkg-config python3 vala - wrapGAppsHook + wrapGAppsHook4 ]; buildInputs = [ curl dht glib - gtk3 + gtk4 libb64 libevent libgee @@ -57,12 +58,15 @@ stdenv.mkDerivation rec { libutp miniupnpc openssl - pantheon.granite + pantheon.granite7 ]; postPatch = '' chmod +x meson/post_install.py patchShebangs meson/post_install.py + + substituteInPlace meson/post_install.py \ + --replace "gtk-update-icon-cache" "gtk4-update-icon-cache" ''; passthru = { |