504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
57 lines
1 KiB
Nix
57 lines
1 KiB
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, gssapi
|
|
, impacket
|
|
, ldap3
|
|
, lxml
|
|
, pyasn1
|
|
, pycryptodome
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywerview";
|
|
version = "0.6";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "the-useless-one";
|
|
repo ="pywerview";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-WZE6qWq9v4A78YELMEcbgyufBRrVFRTqlhGmknpKn1Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|