Merge pull request #34642 from y0no/add_patator
pythonPackages.patator: init at 0.7
This commit is contained in:
24
pkgs/development/python-modules/IPy/default.nix
Normal file
24
pkgs/development/python-modules/IPy/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "IPy";
|
||||
version = "0.83";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -e fuzz
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
|
||||
homepage = "https://github.com/autocracy/python-ipy";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/ajpy/default.nix
Normal file
21
pkgs/development/python-modules/ajpy/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ajpy";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "740e7daf728ba58dabaf4af2c4305262eb207a6e41791424a146a21396ceb9ad";
|
||||
};
|
||||
|
||||
# ajpy doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "AJP package crafting library";
|
||||
homepage = "https://github.com/hypn0s/AJPy/";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
||||
25
pkgs/development/python-modules/cx_oracle/default.nix
Normal file
25
pkgs/development/python-modules/cx_oracle/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, oracle-instantclient }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cx_Oracle";
|
||||
version = "6.1";
|
||||
|
||||
buildInputs = [
|
||||
oracle-instantclient
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "80545fc7acbdda917dd2b1604c938141256bdfed3ad464a44586c9c2f09c3004";
|
||||
};
|
||||
|
||||
# Check need an Oracle database to run
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python interface to Oracle";
|
||||
homepage = "https://oracle.github.io/python-cx_Oracle";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
||||
25
pkgs/development/python-modules/mysqlclient/default.nix
Normal file
25
pkgs/development/python-modules/mysqlclient/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, libmysql }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mysqlclient";
|
||||
version = "1.3.12";
|
||||
|
||||
buildInputs = [
|
||||
libmysql
|
||||
];
|
||||
|
||||
# Tests need a MySQL database
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2d9ec33de39f4d9c64ad7322ede0521d85829ce36a76f9dd3d6ab76a9c8648e5";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python interface to MySQL";
|
||||
homepage = "https://github.com/PyMySQL/mysqlclient-python";
|
||||
license = licenses.gpl1;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
||||
40
pkgs/development/python-modules/patator/default.nix
Normal file
40
pkgs/development/python-modules/patator/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchPypi,
|
||||
paramiko, pycurl, ajpy, pyopenssl, cx_oracle, mysqlclient,
|
||||
psycopg2, pycrypto, dnspython, ipy, pysnmp, pyasn1 }:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "patator";
|
||||
version = "0.7";
|
||||
disabled = !(isPy3k);
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "335e432e6cc591437e316ba8c1da935484ca39fc79e595ccf60ccd9166e965f1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paramiko
|
||||
pycurl
|
||||
ajpy
|
||||
pyopenssl
|
||||
cx_oracle
|
||||
mysqlclient
|
||||
psycopg2
|
||||
pycrypto
|
||||
dnspython
|
||||
ipy
|
||||
pysnmp
|
||||
pyasn1
|
||||
];
|
||||
|
||||
# No tests provided by patator
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "multi-purpose brute-forcer";
|
||||
homepage = "https://github.com/lanjelot/patator";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user