2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2021-03-09 03:18:52 +00:00
|
|
|
, requests, datadog, configparser, python
|
2020-11-09 15:59:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gradient_statsd";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests datadog ]
|
|
|
|
++ lib.optional python.isPy2 configparser;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gradient_statsd" ];
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
# Pypi does not contain tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-09 15:59:12 +00:00
|
|
|
description = "Wrapper around the DogStatsd client";
|
|
|
|
homepage = "https://paperspace.com";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
|
|
};
|
|
|
|
}
|