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
40 lines
848 B
Nix
40 lines
848 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "ntlm-challenger";
|
|
version = "0-unstable-2022-11-10";
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nopfor";
|
|
repo = "ntlm_challenger";
|
|
rev = "bd61ef65c7692fb1968383894da662bf99026aec";
|
|
hash = "sha256-F9aZB8M25gPDY7J7cXkAH30m7zmk4NHczUHyBDBZInA=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
requests
|
|
impacket
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -D ntlm_challenger.py $out/bin/ntlm_challenger
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Parse NTLM challenge messages over HTTP and SMB";
|
|
mainProgram = "ntlm_challenger";
|
|
homepage = "https://github.com/nopfor/ntlm_challenger";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.crem ];
|
|
};
|
|
}
|