Commit 3022d8e8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 12242b0a
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";