Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchFromGitHub, 6 gssapi, 7 impacket, 8 ldap3, 9 lxml, 10 pyasn1, 11 pycryptodome, 12 pythonOlder, 13 setuptools, 14}: 15 16buildPythonPackage rec { 17 pname = "pywerview"; 18 version = "0.6.1"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "the-useless-one"; 25 repo = "pywerview"; 26 rev = "refs/tags/v${version}"; 27 hash = "sha256-hsilBqk73txYIlgRtbn/l/kWORMGft7ne5BffchDLPc="; 28 }; 29 30 nativeBuildInputs = [ setuptools ]; 31 32 propagatedBuildInputs = [ 33 beautifulsoup4 34 gssapi 35 impacket 36 ldap3 37 lxml 38 pycryptodome 39 pyasn1 40 ]; 41 42 # Module has no tests 43 doCheck = false; 44 45 pythonImportsCheck = [ "pywerview" ]; 46 47 meta = with lib; { 48 description = "Module for PowerSploit's PowerView support"; 49 mainProgram = "pywerview"; 50 homepage = "https://github.com/the-useless-one/pywerview"; 51 changelog = "https://github.com/the-useless-one/pywerview/releases/tag/v${version}"; 52 license = licenses.gpl3Plus; 53 maintainers = with maintainers; [ fab ]; 54 }; 55}