python3Packages.gradient_statsd: propagate chardet

This commit is contained in:
Martin Weinelt 2022-07-06 00:57:49 +02:00
parent f8e92d67b8
commit 6785b339cc
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,5 +1,11 @@
{ lib, fetchPypi, buildPythonPackage
, requests, datadog, configparser, python
{ lib
, fetchPypi
, buildPythonPackage
, chardet
, configparser
, datadog
, requests
, python
}:
buildPythonPackage rec {
@ -11,8 +17,12 @@ buildPythonPackage rec {
sha256 = "iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
};
propagatedBuildInputs = [ requests datadog ]
++ lib.optional python.isPy2 configparser;
propagatedBuildInputs = [
chardet
datadog
requests
]
++ lib.optional python.isPy2 configparser;
pythonImportsCheck = [ "gradient_statsd" ];