datadog-integrations-core: add missing modules and dependencies
This commit is contained in:
parent
abdbf67a29
commit
22480044f1
@ -59,7 +59,16 @@ let
|
|||||||
datadog_checks_base = buildIntegration {
|
datadog_checks_base = buildIntegration {
|
||||||
pname = "checks-base";
|
pname = "checks-base";
|
||||||
sourceRoot = "datadog_checks_base";
|
sourceRoot = "datadog_checks_base";
|
||||||
|
|
||||||
|
# Make setuptools build the 'base' and 'checks' modules.
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "from setuptools import setup" "from setuptools import find_packages, setup" \
|
||||||
|
--replace "packages=['datadog_checks']" "packages=find_packages()"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
|
binary
|
||||||
cachetools
|
cachetools
|
||||||
cryptography
|
cryptography
|
||||||
immutables
|
immutables
|
||||||
@ -76,6 +85,12 @@ let
|
|||||||
uptime
|
uptime
|
||||||
wrapt
|
wrapt
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"datadog_checks.base"
|
||||||
|
"datadog_checks.base.checks"
|
||||||
|
"datadog_checks.checks"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Default integrations that should be built:
|
# Default integrations that should be built:
|
||||||
|
Loading…
Reference in New Issue
Block a user