1{ lib 2, ajpy 3, buildPythonPackage 4, cx_oracle 5, dnspython 6, fetchPypi 7, impacket 8, ipy 9, mysqlclient 10, paramiko 11, psycopg2 12, pyasn1 13, pycrypto 14, pycurl 15, pyopenssl 16, pysnmp 17, pysqlcipher3 18, pythonOlder 19}: 20 21buildPythonPackage rec { 22 pname = "patator"; 23 version = "1.0"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; 27 28 src = fetchPypi { 29 inherit pname version; 30 hash = "sha256-VQ7JPyQOY9X/7LVAvTwftoOegt4KyfERgu38HfmsYDM="; 31 }; 32 33 postPatch = '' 34 substituteInPlace requirements.txt \ 35 --replace psycopg2-binary psycopg2 36 ''; 37 38 propagatedBuildInputs = [ 39 ajpy 40 cx_oracle 41 dnspython 42 impacket 43 ipy 44 mysqlclient 45 paramiko 46 psycopg2 47 pyasn1 48 pycrypto 49 pycurl 50 pyopenssl 51 pysnmp 52 pysqlcipher3 53 ]; 54 55 # tests require docker-compose and vagrant 56 doCheck = false; 57 58 meta = with lib; { 59 description = "Multi-purpose brute-forcer"; 60 homepage = "https://github.com/lanjelot/patator"; 61 license = licenses.gpl2Only; 62 maintainers = with maintainers; [ y0no ]; 63 }; 64}