Unverified Commit 610b3b8a authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.impacket: 0.11.0 -> 0.12.0 (#342531)

parents a961a14e 3022d8e8
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, python3
{
  lib,
  fetchFromGitHub,
  python3,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "pysqlrecon";
  version = "0.2.0";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Tw1sm";
    repo = "PySQLRecon";
    rev = "refs/tags/v${version}";
    hash = "sha256-AJCvGpOjnh5ih5HrrpI+x0zyB7P6rMGL70707UunhEM=";
    hash = "sha256-+pme4uOgsh6iZEL73PaR1Y55r+Z/SPEVD2QWBsnMsNs=";
  };

  pythonRelaxDeps = [
    "impacket"
    "rich"
    "typer"
  ];

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
  ];
  nativeBuildInputs = with python3.pkgs; [ poetry-core ];

  propagatedBuildInputs = with python3.pkgs; [
    impacket
    pycryptodome
    rich
    typer
  ];
@@ -33,9 +34,7 @@ python3.pkgs.buildPythonApplication rec {
  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "pysqlrecon"
  ];
  pythonImportsCheck = [ "pysqlrecon" ];

  meta = with lib; {
    description = "Offensive MSSQL toolkit";
+7 −3
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  ldap3,
  ldapdomaindump,
  pyasn1,
  pyasn1-modules,
  pycryptodomex,
  pyopenssl,
  pythonOlder,
@@ -18,16 +19,18 @@

buildPythonPackage rec {
  pname = "impacket";
  version = "0.11.0";
  version = "0.12.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7kA5tNKu3o9fZEeLxZ+qyGA2eWviTeqNwY8An7CQXko=";
    hash = "sha256-iVh9G4NqUiDXSEjJNHV5YrOCiG3KixtKDETWk/JgBkM=";
  };

  pythonRelaxDeps = [ "pyopenssl" ];

  build-system = [ setuptools ];

  dependencies = [
@@ -37,6 +40,7 @@ buildPythonPackage rec {
    ldap3
    ldapdomaindump
    pyasn1
    pyasn1-modules
    pycryptodomex
    pyopenssl
    setuptools