nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 54 lines 1.1 kB view raw
1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchFromGitHub, 6 impacket, 7 ldap3-bleeding-edge, 8 lxml, 9 pyasn1, 10 pycryptodome, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "pywerview"; 16 version = "0.7.5"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "the-useless-one"; 21 repo = "pywerview"; 22 tag = "v${version}"; 23 hash = "sha256-wl7/u9Uja/FflO3tN3UyanX2LIRG417RfWdyZCtUtGs="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 beautifulsoup4 30 impacket 31 ldap3-bleeding-edge 32 lxml 33 pycryptodome 34 pyasn1 35 ]; 36 37 optional-dependencies = { 38 kerberos = [ ldap3-bleeding-edge ] ++ ldap3-bleeding-edge.optional-dependencies.kerberos; 39 }; 40 41 # Module has no tests 42 doCheck = false; 43 44 pythonImportsCheck = [ "pywerview" ]; 45 46 meta = { 47 description = "Module for PowerSploit's PowerView support"; 48 homepage = "https://github.com/the-useless-one/pywerview"; 49 changelog = "https://github.com/the-useless-one/pywerview/releases/tag/${src.tag}"; 50 license = lib.licenses.gpl3Plus; 51 maintainers = with lib.maintainers; [ fab ]; 52 mainProgram = "pywerview"; 53 }; 54}