Commit 916f5e84 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent c6deee04
Loading
Loading
Loading
Loading
+10 −15
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, python3
{
  lib,
  fetchFromGitHub,
  python3,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "ldeep";
  version = "1.0.60";
  version = "1.0.61";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "franc-pentest";
    repo = "ldeep";
    rev = "refs/tags/${version}";
    hash = "sha256-voj6I93+CTifhuUxmSZxYorbrQqnUUUJbO8WG8oJYEA=";
    hash = "sha256-2962O/7EqX1lR8rNrtg9hku6O3+2gPtGhT5jDojxBDY=";
  };

  pythonRelaxDeps = [
    "cryptography"
  ];

  build-system = with python3.pkgs; [
    pdm-backend
  ];
  build-system = with python3.pkgs; [ pdm-backend ];

  nativeBuildInputs = with python3.pkgs; [
    cython
  ];
  nativeBuildInputs = with python3.pkgs; [ cython ];

  dependencies = with python3.pkgs; [
    commandparse
    cryptography
    dnspython
    gssapi
    ldap3
    ldap3-bleeding-edge
    oscrypto
    pycryptodome
    pycryptodomex
@@ -44,9 +41,7 @@ python3.pkgs.buildPythonApplication rec {
  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "ldeep"
  ];
  pythonImportsCheck = [ "ldeep" ];

  meta = with lib; {
    description = "In-depth LDAP enumeration utility";