2022-07-06 00:57:49 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2023-02-19 18:42:45 +01:00
|
|
|
certifi,
|
2022-07-06 00:57:49 +02:00
|
|
|
chardet,
|
|
|
|
datadog,
|
2023-02-19 18:42:45 +01:00
|
|
|
decorator,
|
|
|
|
fetchPypi,
|
|
|
|
idna,
|
2022-07-06 00:57:49 +02:00
|
|
|
requests,
|
2023-02-19 18:42:45 +01:00
|
|
|
urllib3,
|
|
|
|
pythonOlder,
|
2020-11-02 04:48:36 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-02-19 18:42:45 +01:00
|
|
|
pname = "gradient-statsd";
|
2020-11-02 04:48:36 +01:00
|
|
|
version = "1.0.1";
|
2023-02-19 18:42:45 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-11-02 04:48:36 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-02-19 18:42:45 +01:00
|
|
|
pname = "gradient_statsd";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
|
2020-11-02 04:48:36 +01:00
|
|
|
};
|
|
|
|
|
2022-07-06 00:57:49 +02:00
|
|
|
propagatedBuildInputs = [
|
2023-02-19 18:42:45 +01:00
|
|
|
certifi
|
2022-07-06 00:57:49 +02:00
|
|
|
chardet
|
|
|
|
datadog
|
2023-02-19 18:42:45 +01:00
|
|
|
decorator
|
|
|
|
idna
|
2022-07-06 00:57:49 +02:00
|
|
|
requests
|
2023-02-19 18:42:45 +01:00
|
|
|
urllib3
|
|
|
|
];
|
2020-11-02 04:48:36 +01:00
|
|
|
|
2023-02-19 18:42:45 +01:00
|
|
|
pythonImportsCheck = [ "gradient_statsd" ];
|
2020-11-02 04:48:36 +01:00
|
|
|
|
2020-11-10 12:59:36 +01:00
|
|
|
# Pypi does not contain tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-11-02 04:48:36 +01:00
|
|
|
description = "Wrapper around the DogStatsd client";
|
2023-02-19 18:42:45 +01:00
|
|
|
homepage = "https://paperspace.com";
|
|
|
|
license = licenses.mit;
|
2020-11-02 04:48:36 +01:00
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
2023-02-19 18:42:45 +01:00
|
|
|
platforms = platforms.unix;
|
2020-11-02 04:48:36 +01:00
|
|
|
};
|
|
|
|
}
|