python310Packages.pywerview: init at 0.4.0
This commit is contained in:
parent
eba9d69732
commit
332422d410
2 changed files with 57 additions and 0 deletions
55
pkgs/development/python-modules/pywerview/default.nix
Normal file
55
pkgs/development/python-modules/pywerview/default.nix
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
{ lib
|
||||||
|
, beautifulsoup4
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gssapi
|
||||||
|
, impacket
|
||||||
|
, ldap3
|
||||||
|
, lxml
|
||||||
|
, pyasn1
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pywerview";
|
||||||
|
version = "0.4.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "the-useless-one";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-nrPhyBHW13dkXFC5YJfrkiztAxMw4KuEif0zCdjQEq0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
beautifulsoup4
|
||||||
|
gssapi
|
||||||
|
impacket
|
||||||
|
ldap3
|
||||||
|
lxml
|
||||||
|
pyasn1
|
||||||
|
];
|
||||||
|
|
||||||
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/the-useless-one/pywerview/pull/51
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "bs4" "beautifulsoup4"
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pywerview"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Module for PowerSploit's PowerView support";
|
||||||
|
homepage = "https://github.com/the-useless-one/pywerview";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8885,6 +8885,8 @@ in {
|
||||||
|
|
||||||
pywemo = callPackage ../development/python-modules/pywemo { };
|
pywemo = callPackage ../development/python-modules/pywemo { };
|
||||||
|
|
||||||
|
pywerview = callPackage ../development/python-modules/pywerview { };
|
||||||
|
|
||||||
pywick = callPackage ../development/python-modules/pywick { };
|
pywick = callPackage ../development/python-modules/pywick { };
|
||||||
|
|
||||||
pywilight = callPackage ../development/python-modules/pywilight { };
|
pywilight = callPackage ../development/python-modules/pywilight { };
|
||||||
|
|
Loading…
Reference in a new issue