Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.impacket: 0.11.0 -> 0.12.0 #342531

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions pkgs/by-name/py/pysqlrecon/package.nix
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
{ 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
];

# Project has no tests
doCheck = false;

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

meta = with lib; {
description = "Offensive MSSQL toolkit";
Expand Down
10 changes: 7 additions & 3 deletions pkgs/development/python-modules/impacket/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
ldap3,
ldapdomaindump,
pyasn1,
pyasn1-modules,
pycryptodomex,
pyopenssl,
pythonOlder,
Expand All @@ -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 = [
Expand All @@ -37,6 +40,7 @@ buildPythonPackage rec {
ldap3
ldapdomaindump
pyasn1
pyasn1-modules
pycryptodomex
pyopenssl
setuptools
Expand Down