Files
nixpkgs/pkgs/by-name/to/tor/proxy-hook-tests.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
1.3 KiB
Nix

{
testers,
fetchFromGitLab,
fetchgit,
fetchurl,
fetchzip,
linkFarm,
tor,
}:
let
domain = "eweiibe6tdjsdprb4px6rqrzzcsi22m4koia44kc5pcjr7nec2rlxyad.onion";
rev = "933c5491db00c703d5d8264fdabd5a5b10aff96f";
hash = "sha256-o6Wpso8GSlQH39GpH3IXZyrVhdP8pEYFxLDq9a7yHX0=";
in
linkFarm "tor-proxy-hook-tests" {
fetchgit = testers.invalidateFetcherByDrvHash fetchgit {
name = "fetchgit-tor-source";
url = "http://${domain}/tpo/core/tor";
inherit rev hash;
nativeBuildInputs = [ tor.proxyHook ];
};
fetchzip = testers.invalidateFetcherByDrvHash fetchzip {
name = "fetchzip-tor-source";
url = "http://${domain}/tpo/core/tor/-/archive/${rev}/tor-${rev}.zip";
inherit hash;
nativeBuildInputs = [ tor.proxyHook ];
};
fetchurl = testers.invalidateFetcherByDrvHash fetchurl {
name = "fetchurl-tor-source";
url = "http://${domain}/tpo/core/tor/-/raw/${rev}/Cargo.lock";
hash = "sha256-oX4WbsscLADgJ5o+czpueyAih7ic0u4lZQs7y1vMA3A=";
nativeBuildInputs = [ tor.proxyHook ];
};
fetchFromGitLab = testers.invalidateFetcherByDrvHash fetchFromGitLab {
name = "gitlab-tor-source";
protocol = "http";
owner = "tpo/core";
repo = "tor";
inherit domain rev hash;
nativeBuildInputs = [ tor.proxyHook ];
};
}