Merge pull request #108120 from fabaff/ldeep
This commit is contained in:
commit
a657c03fd8
25
pkgs/development/python-modules/commandparse/default.nix
Normal file
25
pkgs/development/python-modules/commandparse/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
38
pkgs/tools/security/ldeep/default.nix
Normal file
38
pkgs/tools/security/ldeep/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5530,6 +5530,8 @@ in
|
|||||||
|
|
||||||
ldapvi = callPackage ../tools/misc/ldapvi { };
|
ldapvi = callPackage ../tools/misc/ldapvi { };
|
||||||
|
|
||||||
|
ldeep = python3Packages.callPackage ../tools/security/ldeep { };
|
||||||
|
|
||||||
ldns = callPackage ../development/libraries/ldns { };
|
ldns = callPackage ../development/libraries/ldns { };
|
||||||
|
|
||||||
leafpad = callPackage ../applications/editors/leafpad { };
|
leafpad = callPackage ../applications/editors/leafpad { };
|
||||||
|
@ -1348,6 +1348,8 @@ in {
|
|||||||
|
|
||||||
colour = callPackage ../development/python-modules/colour { };
|
colour = callPackage ../development/python-modules/colour { };
|
||||||
|
|
||||||
|
commandparse = callPackage ../development/python-modules/commandparse { };
|
||||||
|
|
||||||
CommonMark = callPackage ../development/python-modules/commonmark { };
|
CommonMark = callPackage ../development/python-modules/commonmark { };
|
||||||
|
|
||||||
compiledb = callPackage ../development/python-modules/compiledb { };
|
compiledb = callPackage ../development/python-modules/compiledb { };
|
||||||
|
Loading…
Reference in New Issue
Block a user