Merge pull request #108120 from fabaff/ldeep

This commit is contained in:
Sandro 2021-01-10 20:55:14 +01:00 committed by GitHub
commit a657c03fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "commandparse";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "06mcxc0vs5qdcywalgyx5zm18z4xcsrg5g0wsqqv5qawkrvmvl53";
};
# tests only distributed upstream source, not PyPi
doCheck = false;
pythonImportsCheck = [ "commandparse" ];
meta = with lib; {
description = "Python module to parse command based CLI application";
homepage = "https://github.com/flgy/commandparse";
license = with licenses; [ mit ];
maintainers = [ maintainers.fab ];
};
}

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonApplication
, fetchPypi
, commandparse
, dnspython
, ldap3
, termcolor
, tqdm
}:
buildPythonApplication rec {
pname = "ldeep";
version = "1.0.9";
src = fetchPypi {
inherit pname version;
sha256 = "0n38idkn9hy31m5xkrc36dmw364d137c7phssvj76gr2gqsrqjy3";
};
propagatedBuildInputs = [
commandparse
dnspython
ldap3
termcolor
tqdm
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "ldeep" ];
meta = with lib; {
description = "In-depth LDAP enumeration utility";
homepage = "https://github.com/franc-pentest/ldeep";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5530,6 +5530,8 @@ in
ldapvi = callPackage ../tools/misc/ldapvi { };
ldeep = python3Packages.callPackage ../tools/security/ldeep { };
ldns = callPackage ../development/libraries/ldns { };
leafpad = callPackage ../applications/editors/leafpad { };

View File

@ -1348,6 +1348,8 @@ in {
colour = callPackage ../development/python-modules/colour { };
commandparse = callPackage ../development/python-modules/commandparse { };
CommonMark = callPackage ../development/python-modules/commonmark { };
compiledb = callPackage ../development/python-modules/compiledb { };