nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 56 lines 1.1 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "ldeep"; 9 version = "1.0.89"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "franc-pentest"; 14 repo = "ldeep"; 15 tag = version; 16 hash = "sha256-aod+0wd4Ek8mTiP4H5C5vUJ+94THMrFGDGVzWEH3G+U="; 17 }; 18 19 pythonRelaxDeps = [ 20 "termcolor" 21 "cryptography" 22 "ldap3-bleeding-edge" 23 ]; 24 25 build-system = with python3.pkgs; [ pdm-backend ]; 26 27 nativeBuildInputs = with python3.pkgs; [ cython ]; 28 29 dependencies = with python3.pkgs; [ 30 commandparse 31 cryptography 32 dnspython 33 gssapi 34 ldap3-bleeding-edge 35 oscrypto 36 pycryptodome 37 pycryptodomex 38 six 39 termcolor 40 tqdm 41 ]; 42 43 # Project has no tests 44 doCheck = false; 45 46 pythonImportsCheck = [ "ldeep" ]; 47 48 meta = { 49 description = "In-depth LDAP enumeration utility"; 50 homepage = "https://github.com/franc-pentest/ldeep"; 51 changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${src.tag}"; 52 license = lib.licenses.mit; 53 maintainers = with lib.maintainers; [ fab ]; 54 mainProgram = "ldeep"; 55 }; 56}