2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, arc4
|
|
|
|
, asn1crypto
|
|
|
|
, asn1tools
|
2023-01-20 10:41:00 +00:00
|
|
|
, asyauth
|
2022-08-12 12:06:08 +00:00
|
|
|
, asysocks
|
|
|
|
, buildPythonPackage
|
|
|
|
, colorama
|
2023-01-20 10:41:00 +00:00
|
|
|
, fetchFromGitHub
|
2022-08-12 12:06:08 +00:00
|
|
|
, minikerberos
|
|
|
|
, pillow
|
|
|
|
, pyperclip
|
|
|
|
, pythonOlder
|
2023-01-20 10:41:00 +00:00
|
|
|
, rustPlatform
|
|
|
|
, setuptools-rust
|
2022-08-12 12:06:08 +00:00
|
|
|
, tqdm
|
|
|
|
, unicrypto
|
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aardwolf";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.2.1";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skelsec";
|
|
|
|
repo = "aardwolf";
|
|
|
|
rev = "86c4b511e0dfeeb767081902af2244f6297a68eb";
|
|
|
|
hash = "sha256-ULczCJWVLrj0is6UYZxJNyLV6opzoJAFStqsjEmjaIA=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
|
|
inherit src;
|
|
|
|
sourceRoot = "source/aardwolf/utils/rlers";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
hash = "sha256-F6NLWc5B577iH0uKAdj2y2TtQfo4eeXkMIK6he1tpvQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoRoot = "aardwolf/utils/rlers";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
setuptools-rust
|
|
|
|
] ++ (with rustPlatform.rust; [
|
|
|
|
cargo
|
|
|
|
rustc
|
|
|
|
]);
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
arc4
|
|
|
|
asn1crypto
|
|
|
|
asn1tools
|
2023-01-20 10:41:00 +00:00
|
|
|
asyauth
|
2022-08-12 12:06:08 +00:00
|
|
|
asysocks
|
|
|
|
colorama
|
|
|
|
minikerberos
|
|
|
|
pillow
|
|
|
|
pyperclip
|
|
|
|
tqdm
|
|
|
|
unicrypto
|
|
|
|
winsspi
|
|
|
|
];
|
|
|
|
|
|
|
|
# Module doesn't have tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aardwolf"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Asynchronous RDP protocol implementation";
|
|
|
|
homepage = "https://github.com/skelsec/aardwolf";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|