From 21080e627bd84c5ac297d69f00c7ba1027de463a Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Thu, 1 Feb 2018 00:00:00 +0000 Subject: [PATCH] tor-browser: 7.0.1 -> 7.5.2 --- .../networking/browsers/firefox/packages.nix | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix index 619544925803..143e6e22d3c5 100644 --- a/pkgs/applications/networking/browsers/firefox/packages.nix +++ b/pkgs/applications/networking/browsers/firefox/packages.nix @@ -137,6 +137,24 @@ in rec { [ ./env_var_for_system_dir.patch ]; } // commonAttrs) {}; - tor-browser = tor-browser-7-0; + tor-browser-7-5 = common (rec { + pname = "tor-browser"; + version = "7.5.2"; + isTorBrowserLike = true; + + # FIXME: fetchFromGitHub is not ideal, unpacked source is >900Mb + src = fetchFromGitHub { + owner = "SLNOS"; + repo = "tor-browser"; + # branch "tor-browser-52.6.2esr-7.5-2-slnos"; + rev = "cf1a504aaa26af962ae909a3811c0038db2d2eec"; + sha256 = "0llbk7skh1n7yj137gv7rnxfasxsnvfjp4ss7h1fbdnw19yba115"; + }; + + patches = + [ ./env_var_for_system_dir.patch ]; + } // commonAttrs) {}; + + tor-browser = tor-browser-7-5; })