depot/third_party/nixpkgs/pkgs/development/python-modules/pywerview/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

55 lines
1.1 KiB
Nix

{
lib,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
gssapi,
impacket,
ldap3,
lxml,
pyasn1,
pycryptodome,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pywerview";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "the-useless-one";
repo = "pywerview";
rev = "refs/tags/v${version}";
hash = "sha256-hsilBqk73txYIlgRtbn/l/kWORMGft7ne5BffchDLPc=";
};
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";
mainProgram = "pywerview";
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 ];
};
}