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
46 lines
1013 B
Nix
46 lines
1013 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "certmitm";
|
|
version = "0-unstable-2025-05-14";
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aapooksman";
|
|
repo = "certmitm";
|
|
rev = "f04c91a1ba231762ec126487f593f9b4d33f4ec2";
|
|
hash = "sha256-i4DnOyn56lA63hI40uxtXX8dzMa29BPQQHWKFdVjVlM=";
|
|
};
|
|
|
|
dependencies = with python3.pkgs; [
|
|
dpkt
|
|
pyopenssl
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -vD certmitm.py $out/bin/certmitm
|
|
install -vd $out/${python3.sitePackages}/
|
|
cp -R certmitm $out/${python3.sitePackages}
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
# Project has not tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Tool for testing for certificate validation vulnerabilities of TLS connections";
|
|
homepage = "https://github.com/aapooksman/certmitm";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "certmitm";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|