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 panel,
39 pydantic,
40 pygments,
41 pyjwt,
42 pythonOlder,
43 pyyaml,
44 setuptools,
45 tldextract,
46 tqdm,
47 typing-extensions,
48 urllib3,
49}:
50
51buildPythonPackage rec {
52 pname = "msticpy";
53 version = "2.16.2.post";
54 pyproject = true;
55
56 disabled = pythonOlder "3.8";
57
58 src = fetchFromGitHub {
59 owner = "microsoft";
60 repo = "msticpy";
61 tag = "v${version}";
62 hash = "sha256-EUZAN56EXNnAFXiBhtjsu652+K3T/qMZoWt2N1C92mU=";
63 };
64
65 pythonRelaxDeps = [ "bokeh" ];
66
67 build-system = [ setuptools ];
68
69 dependencies = [
70 attrs
71 azure-common
72 azure-core
73 azure-identity
74 azure-keyvault-secrets
75 azure-kusto-data
76 azure-mgmt-keyvault
77 azure-mgmt-subscription
78 azure-monitor-query
79 beautifulsoup4
80 bokeh
81 cryptography
82 deprecated
83 dnspython
84 folium
85 geoip2
86 html5lib
87 httpx
88 importlib-resources
89 ipython
90 ipywidgets
91 keyring
92 lxml
93 msal
94 msal-extensions
95 msrest
96 msrestazure
97 nest-asyncio
98 networkx
99 packaging
100 pandas
101 panel
102 pydantic
103 pygments
104 pyjwt
105 pyyaml
106 tldextract
107 tqdm
108 typing-extensions
109 urllib3
110 ];
111
112 # Test requires network access
113 doCheck = false;
114
115 pythonImportsCheck = [ "msticpy" ];
116
117 meta = {
118 description = "Microsoft Threat Intelligence Security Tools";
119 homepage = "https://github.com/microsoft/msticpy";
120 changelog = "https://github.com/microsoft/msticpy/releases/tag/${src.tag}";
121 license = lib.licenses.mit;
122 maintainers = with lib.maintainers; [ fab ];
123 };
124}