Unverified Commit d0334076 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python3Packages.{patator,pysqlcipher3}: drop (#475218)

parents d202c927 0715d0ea
Loading
Loading
Loading
Loading
+0 −67
Original line number Diff line number Diff line
{
  lib,
  ajpy,
  buildPythonPackage,
  cx-oracle,
  dnspython,
  fetchPypi,
  impacket,
  ipy,
  mysqlclient,
  paramiko,
  psycopg2,
  pyasn1,
  pycrypto,
  pycurl,
  pyopenssl,
  pysnmp,
  pysqlcipher3,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "patator";
  version = "1.1.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-BupB/s4HNk6DUxbrHB/onqeS7kL0WsGPZ2jqKUj7DJw=";
  };

  postPatch = ''
    substituteInPlace requirements.txt \
      --replace psycopg2-binary psycopg2
  '';

  propagatedBuildInputs = [
    ajpy
    cx-oracle
    dnspython
    impacket
    ipy
    mysqlclient
    paramiko
    psycopg2
    pyasn1
    pycrypto
    pycurl
    pyopenssl
    pysnmp
    pysqlcipher3
  ];

  # tests require docker-compose and vagrant
  doCheck = false;

  meta = {
    description = "Multi-purpose brute-forcer";
    homepage = "https://github.com/lanjelot/patator";
    license = lib.licenses.gpl2Only;
    # Still uses cx-oracle which is broken and was replaced by oracledb
    # https://github.com/lanjelot/patator/issues/234
    broken = true;
  };
}
+0 −28
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  sqlcipher,
}:

buildPythonPackage rec {
  pname = "pysqlcipher3";
  version = "1.2.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU=";
  };

  buildInputs = [ sqlcipher ];

  pythonImportsCheck = [ "pysqlcipher3" ];

  meta = {
    description = "Python 3 bindings for SQLCipher";
    homepage = "https://github.com/rigglemania/pysqlcipher3/";
    license = lib.licenses.zlib;
    maintainers = [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -297,6 +297,7 @@ mapAliases {
  pam = throw "'pam' has been renamed to/replaced by 'python-pam'"; # Converted to throw 2025-10-29
  paramz = throw "'paramz' has been removed as it is incompatible with Numpy 2"; # added 2025-11-10
  PasteDeploy = throw "'PasteDeploy' has been renamed to/replaced by 'pastedeploy'"; # Converted to throw 2025-10-29
  patator = throw "'patator' has been removed as it was dependant on removed packages and broken"; # Added 2025-12-30
  pathpy = throw "'pathpy' has been renamed to/replaced by 'path'"; # Converted to throw 2025-10-29
  pcbnew-transition = throw "'pcbnew-transition' has been renamed to/replaced by 'pcbnewtransition'"; # Converted to throw 2025-10-29
  pdfminer = throw "'pdfminer' has been renamed to/replaced by 'pdfminer-six'"; # Converted to throw 2025-10-29
@@ -370,6 +371,7 @@ mapAliases {
  pySmartDL = throw "'pySmartDL' has been renamed to/replaced by 'pysmartdl'"; # Converted to throw 2025-10-29
  pysmi-lextudio = throw "'pysmi-lextudio' has been renamed to/replaced by 'pysmi'"; # Converted to throw 2025-10-29
  pysnmp-lextudio = throw "'pysnmp-lextudio' has been renamed to/replaced by 'pysnmp'"; # Converted to throw 2025-10-29
  pysqlcipher3 = throw "'pysqlcipher3' has been removed has it was abandonned upstream and broken"; # Added 2025-12-30
  PyStemmer = throw "'PyStemmer' has been renamed to/replaced by 'pystemmer'"; # Converted to throw 2025-10-29
  pysuez = throw "'pysuez' has been renamed to/replaced by 'pysuezv2'"; # Converted to throw 2025-10-29
  pytado = throw "'pytado' has been renamed to/replaced by 'python-tado'"; # Converted to throw 2025-10-29
+0 −4
Original line number Diff line number Diff line
@@ -11832,8 +11832,6 @@ self: super: with self; {
  pastescript = callPackage ../development/python-modules/pastescript { };
  patator = callPackage ../development/python-modules/patator { };
  patch = callPackage ../development/python-modules/patch { };
  patch-ng = callPackage ../development/python-modules/patch-ng { };
@@ -14728,8 +14726,6 @@ self: super: with self; {
  pyspx = callPackage ../development/python-modules/pyspx { };
  pysqlcipher3 = callPackage ../development/python-modules/pysqlcipher3 { inherit (pkgs) sqlcipher; };
  pysqlitecipher = callPackage ../development/python-modules/pysqlitecipher { };
  pysqueezebox = callPackage ../development/python-modules/pysqueezebox { };