depot/third_party/nixpkgs/pkgs/development/python-modules/pywerview/default.nix

53 lines
986 B
Nix
Raw Normal View History

{ 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 ];
};
}