9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
52 lines
986 B
Nix
52 lines
986 B
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, gssapi
|
|
, impacket
|
|
, ldap3
|
|
, lxml
|
|
, pyasn1
|
|
, pycryptodome
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywerview";
|
|
version = "0.5.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "the-useless-one";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-0vL1kMg4XRFq1CWR/2x5YYyfjm8YzjJaXkezehsT4hg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
gssapi
|
|
impacket
|
|
ldap3
|
|
lxml
|
|
pycryptodome
|
|
pyasn1
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pywerview"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module for PowerSploit's PowerView support";
|
|
homepage = "https://github.com/the-useless-one/pywerview";
|
|
changelog = "https://github.com/the-useless-one/pywerview/releases/tag/v${version}";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|