Merge pull request #177491 from fabaff/offensive-azure
offensive-azure: init at 0.4.10
This commit is contained in:
commit
1b4d97436b
54
pkgs/tools/security/offensive-azure/default.nix
Normal file
54
pkgs/tools/security/offensive-azure/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "offensive-azure";
|
||||
version = "0.4.10";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blacklanternsecurity";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-5JHix+/uGGhXM89VLimI81g4evci5ZUtNV1c1xopjuI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
certifi
|
||||
charset-normalizer
|
||||
colorama
|
||||
dnspython
|
||||
idna
|
||||
pycryptodome
|
||||
python-whois
|
||||
requests
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Use default Python module
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'uuid = "^1.30"' ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"offensive_azure"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of offensive tools targeting Microsoft Azure";
|
||||
homepage = "https://github.com/blacklanternsecurity/offensive-azure";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -8935,6 +8935,8 @@ with pkgs;
|
||||
|
||||
odyssey = callPackage ../tools/misc/odyssey { };
|
||||
|
||||
offensive-azure = callPackage ../tools/security/offensive-azure { };
|
||||
|
||||
offlineimap = callPackage ../tools/networking/offlineimap { };
|
||||
|
||||
ofono-phonesim = libsForQt5.callPackage ../development/tools/ofono-phonesim { };
|
||||
|
Loading…
Reference in New Issue
Block a user