mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
Merge pull request #298887 from fabaff/enterpriseattack
python311Packages.enterpriseattack: init at 0.1.8
This commit is contained in:
commit
54cfbd1a97
47
pkgs/development/python-modules/enterpriseattack/default.nix
Normal file
47
pkgs/development/python-modules/enterpriseattack/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -3755,6 +3755,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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user