python311Packages.enterpriseattack: init at 0.1.8

Module to interact with the Mitre Att&ck Enterprise dataset

https://github.com/xakepnz/enterpriseattack
This commit is contained in:
Fabian Affolter 2024-03-25 10:58:55 +01:00
parent b0c93fc5a3
commit e5a2f3d996
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
, setuptools
, ujson
}:
buildPythonPackage rec {
pname = "enterpriseattack";
version = "0.1.8";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "xakepnz";
repo = "enterpriseattack";
rev = "refs/tags/v.${version}";
hash = "sha256-cxbGc9iQe94Th6MSUldI17oVCclFhUM78h1w+6KXzm4=";
};
build-system = [
setuptools
];
dependencies = [
requests
ujson
];
# Tests require network access
doCheck = false;
pythonImportsCheck = [
"enterpriseattack"
];
meta = with lib; {
description = "Module to interact with the Mitre Att&ck Enterprise dataset";
homepage = "https://github.com/xakepnz/enterpriseattack";
changelog = "https://github.com/xakepnz/enterpriseattack/releases/tag/v.${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3749,6 +3749,8 @@ self: super: with self; {
enrich = callPackage ../development/python-modules/enrich { };
enterpriseattack = callPackage ../development/python-modules/enterpriseattack { };
entrance = callPackage ../development/python-modules/entrance {
routerFeatures = false;
};