at 23.05-pre 1.0 kB view raw
1{ lib, buildPythonPackage, isPy27, fetchPypi 2, paramiko, pycurl, ajpy, impacket, pyopenssl, cx_oracle, mysqlclient 3, psycopg2, pycrypto, dnspython, ipy, pysnmp, pyasn1, pysqlcipher3 }: 4 5 6buildPythonPackage rec { 7 pname = "patator"; 8 version = "0.9"; 9 disabled = isPy27; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "68cb24bdc3042ee0d47a288b19a8b99a6c54bdbd4ddf0c5817d9b9ac0a0d8a15"; 14 }; 15 16 postPatch = '' 17 substituteInPlace requirements.txt \ 18 --replace psycopg2-binary psycopg2 19 ''; 20 21 propagatedBuildInputs = [ 22 paramiko 23 pycurl 24 ajpy 25 impacket 26 pyopenssl 27 cx_oracle 28 mysqlclient 29 psycopg2 30 pycrypto 31 dnspython 32 ipy 33 pysnmp 34 pyasn1 35 pysqlcipher3 36 ]; 37 38 # tests require docker-compose and vagrant 39 doCheck = false; 40 41 meta = with lib; { 42 description = "multi-purpose brute-forcer"; 43 homepage = "https://github.com/lanjelot/patator"; 44 license = licenses.gpl2; 45 maintainers = with maintainers; [ y0no SuperSandro2000 ]; 46 }; 47}