1{
2 lib,
3 attrs,
4 azure-common,
5 azure-core,
6 azure-identity,
7 azure-keyvault-secrets,
8 azure-kusto-data,
9 azure-mgmt-keyvault,
10 azure-mgmt-subscription,
11 azure-monitor-query,
12 beautifulsoup4,
13 bokeh,
14 buildPythonPackage,
15 cache,
16 cryptography,
17 deprecated,
18 dnspython,
19 fetchFromGitHub,
20 folium,
21 geoip2,
22 html5lib,
23 httpx,
24 importlib-resources,
25 ipython,
26 ipywidgets,
27 keyring,
28 lxml,
29 markdown,
30 msal-extensions,
31 msal,
32 msrest,
33 msrestazure,
34 nest-asyncio,
35 networkx,
36 packaging,
37 pandas,
38 pydantic,
39 pygments,
40 pyjwt,
41 pythonOlder,
42 pyyaml,
43 setuptools,
44 tldextract,
45 tqdm,
46 typing-extensions,
47 urllib3,
48}:
49
50buildPythonPackage rec {
51 pname = "msticpy";
52 version = "2.15.0";
53 pyproject = true;
54
55 disabled = pythonOlder "3.8";
56
57 src = fetchFromGitHub {
58 owner = "microsoft";
59 repo = "msticpy";
60 rev = "refs/tags/v${version}";
61 hash = "sha256-jYLAF+6yhZo74LYDaoA/+JTd05s6VCheYpHk6ilufBM=";
62 };
63
64 pythonRelaxDeps = [ "bokeh" ];
65
66 build-system = [ setuptools ];
67
68 dependencies = [
69 attrs
70 azure-common
71 azure-core
72 azure-identity
73 azure-keyvault-secrets
74 azure-kusto-data
75 azure-mgmt-keyvault
76 azure-mgmt-subscription
77 azure-monitor-query
78 beautifulsoup4
79 bokeh
80 cryptography
81 deprecated
82 dnspython
83 folium
84 geoip2
85 html5lib
86 httpx
87 importlib-resources
88 ipython
89 ipywidgets
90 keyring
91 lxml
92 msal
93 msal-extensions
94 msrest
95 msrestazure
96 nest-asyncio
97 networkx
98 packaging
99 pandas
100 pydantic
101 pygments
102 pyjwt
103 pyyaml
104 tldextract
105 tqdm
106 typing-extensions
107 urllib3
108 ];
109
110 # Test requires network access
111 doCheck = false;
112
113 pythonImportsCheck = [ "msticpy" ];
114
115 meta = {
116 description = "Microsoft Threat Intelligence Security Tools";
117 homepage = "https://github.com/microsoft/msticpy";
118 changelog = "https://github.com/microsoft/msticpy/releases/tag/v${version}";
119 license = lib.licenses.mit;
120 maintainers = with lib.maintainers; [ fab ];
121 };
122}