1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 deprecation,
7}:
8
9buildPythonPackage rec {
10 pname = "splunk-sdk";
11 version = "2.1.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "splunk";
16 repo = "splunk-sdk-python";
17 tag = version;
18 hash = "sha256-+ae4/Q7Rx6K35RZuTOc/MDIgnX9hqswgZelnRvFiaRM=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ deprecation ];
24
25 pythonImportsCheck = [ "splunklib" ];
26
27 meta = {
28 description = "Splunk Enterprise Software Development Kit (SDK) for Python";
29 homepage = "https://github.com/splunk/splunk-sdk-python";
30 changelog = "https://github.com/splunk/splunk-sdk-python/releases/tag/${version}";
31 license = lib.licenses.asl20;
32 maintainers = with lib.maintainers; [ levigross ];
33 };
34}