1{ lib, fetchPypi, buildPythonPackage
2, requests, datadog, configparser, python
3}:
4
5buildPythonPackage rec {
6 pname = "gradient_statsd";
7 version = "1.0.1";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
12 };
13
14 propagatedBuildInputs = [ requests datadog ]
15 ++ lib.optional python.isPy2 configparser;
16
17 pythonImportsCheck = [ "gradient_statsd" ];
18
19 # Pypi does not contain tests
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Wrapper around the DogStatsd client";
24 homepage = "https://paperspace.com";
25 license = licenses.mit;
26 platforms = platforms.unix;
27 maintainers = with maintainers; [ freezeboy ];
28 };
29}