From 12242b0ad2d58ed4c4737fae6ce0296881ae5b94 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 Sep 2024 14:44:32 +0200 Subject: [PATCH 1/2] python312Packages.impacket: 0.11.0 -> 0.12.0 Changelog: https://github.com/fortra/impacket/releases/tag/impacket_0_12_0 --- pkgs/development/python-modules/impacket/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/impacket/default.nix b/pkgs/development/python-modules/impacket/default.nix index 8cd34b50f828..b9ca971b1e4c 100644 --- a/pkgs/development/python-modules/impacket/default.nix +++ b/pkgs/development/python-modules/impacket/default.nix @@ -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 From 3022d8e8fc3e424bfa9c48c31a0968901fb4ae6e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 Sep 2024 16:37:31 +0200 Subject: [PATCH 2/2] pysqlrecon: 0.2.0 -> 0.3.0 Diff: https://github.com/Tw1sm/PySQLRecon/compare/refs/tags/v0.2.0...v0.3.0 Changelog: https://github.com/Tw1sm/PySQLRecon/blob/0.3.0/CHANGELOG.md --- pkgs/by-name/py/pysqlrecon/package.nix | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/py/pysqlrecon/package.nix b/pkgs/by-name/py/pysqlrecon/package.nix index 32c98e42fdd6..664c6b7c88e8 100644 --- a/pkgs/by-name/py/pysqlrecon/package.nix +++ b/pkgs/by-name/py/pysqlrecon/package.nix @@ -1,31 +1,32 @@ -{ 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";