159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
gssapi,
|
|
impacket,
|
|
ldap3-bleeding-edge,
|
|
lxml,
|
|
pyasn1,
|
|
pycryptodome,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywerview";
|
|
version = "0.7.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "the-useless-one";
|
|
repo = "pywerview";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-G4kcKlb6bq9Vx52MVZ+DCN5k1QcvkoMXm9P959nA1fI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
beautifulsoup4
|
|
gssapi
|
|
impacket
|
|
ldap3-bleeding-edge
|
|
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 ];
|
|
mainProgram = "pywerview";
|
|
};
|
|
}
|