aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/security/tor/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/security/tor/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/security/tor/default.nix35
1 files changed, 19 insertions, 16 deletions
diff --git a/nixpkgs/pkgs/tools/security/tor/default.nix b/nixpkgs/pkgs/tools/security/tor/default.nix
index 1e033fa31ce..c535bf70670 100644
--- a/nixpkgs/pkgs/tools/security/tor/default.nix
+++ b/nixpkgs/pkgs/tools/security/tor/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
-, libseccomp, systemd, libcap, lzma, zstd, scrypt
+, libseccomp, systemd, libcap, lzma, zstd, scrypt, nixosTests
# for update.nix
, writeScript
@@ -15,11 +15,11 @@
stdenv.mkDerivation rec {
pname = "tor";
- version = "0.4.3.5";
+ version = "0.4.3.6";
src = fetchurl {
url = "https://dist.torproject.org/${pname}-${version}.tar.gz";
- sha256 = "0s6qspi102drn1nk3gfxs51x992xarc44gkfsi8y3l48wr50wsk1";
+ sha256 = "0qmcrkjip0ywq77232m73pjwqiaj0q2klwklqlpbw575shvhcbba";
};
outputs = [ "out" "geoip" ];
@@ -54,19 +54,22 @@ stdenv.mkDerivation rec {
rm -rf $out/share/tor
'';
- passthru.updateScript = import ./update.nix {
- inherit (stdenv) lib;
- inherit
- writeScript
- common-updater-scripts
- bash
- coreutils
- curl
- gnupg
- gnugrep
- gnused
- nix
- ;
+ passthru = {
+ tests.tor = nixosTests.tor;
+ updateScript = import ./update.nix {
+ inherit (stdenv) lib;
+ inherit
+ writeScript
+ common-updater-scripts
+ bash
+ coreutils
+ curl
+ gnupg
+ gnugrep
+ gnused
+ nix
+ ;
+ };
};
meta = with stdenv.lib; {