2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2020-11-02 03:48:36 +00:00
|
|
|
, boto3, requests, datadog, configparser, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
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-10 11:59:36 +00:00
|
|
|
# Pypi does not contain tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-02 03:48:36 +00:00
|
|
|
description = "Wrapper around the DogStatsd client";
|
|
|
|
homepage = "https://paperspace.com";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
|
|
};
|
|
|
|
}
|