1{
2 lib,
3 buildPythonPackage,
4 certifi,
5 chardet,
6 datadog,
7 decorator,
8 fetchPypi,
9 idna,
10 requests,
11 urllib3,
12 pythonOlder,
13}:
14
15buildPythonPackage rec {
16 pname = "gradient-statsd";
17 version = "1.0.1";
18 format = "setuptools";
19
20 disabled = pythonOlder "3.7";
21
22 src = fetchPypi {
23 pname = "gradient_statsd";
24 inherit version;
25 hash = "sha256-iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
26 };
27
28 propagatedBuildInputs = [
29 certifi
30 chardet
31 datadog
32 decorator
33 idna
34 requests
35 urllib3
36 ];
37
38 pythonImportsCheck = [ "gradient_statsd" ];
39
40 # Pypi does not contain tests
41 doCheck = false;
42
43 meta = with lib; {
44 description = "Wrapper around the DogStatsd client";
45 homepage = "https://paperspace.com";
46 license = licenses.mit;
47 maintainers = with maintainers; [ freezeboy ];
48 platforms = platforms.unix;
49 };
50}