2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-02-22 10:55:15 +00:00
|
|
|
, certifi
|
2022-07-14 12:49:19 +00:00
|
|
|
, chardet
|
|
|
|
, datadog
|
2023-02-22 10:55:15 +00:00
|
|
|
, decorator
|
|
|
|
, fetchPypi
|
|
|
|
, idna
|
2022-07-14 12:49:19 +00:00
|
|
|
, requests
|
2023-02-22 10:55:15 +00:00
|
|
|
, urllib3
|
|
|
|
, pythonOlder
|
2020-11-09 15:59:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-02-22 10:55:15 +00:00
|
|
|
pname = "gradient-statsd";
|
2020-11-09 15:59:12 +00:00
|
|
|
version = "1.0.1";
|
2023-02-22 10:55:15 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-11-09 15:59:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-02-22 10:55:15 +00:00
|
|
|
pname = "gradient_statsd";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
|
2020-11-09 15:59:12 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-02-22 10:55:15 +00:00
|
|
|
certifi
|
2022-07-14 12:49:19 +00:00
|
|
|
chardet
|
|
|
|
datadog
|
2023-02-22 10:55:15 +00:00
|
|
|
decorator
|
|
|
|
idna
|
2022-07-14 12:49:19 +00:00
|
|
|
requests
|
2023-02-22 10:55:15 +00:00
|
|
|
urllib3
|
|
|
|
];
|
2020-11-09 15:59:12 +00:00
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"gradient_statsd"
|
|
|
|
];
|
2020-11-09 15:59:12 +00:00
|
|
|
|
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";
|
2023-02-22 10:55:15 +00:00
|
|
|
homepage = "https://paperspace.com";
|
|
|
|
license = licenses.mit;
|
2020-11-09 15:59:12 +00:00
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
2023-02-22 10:55:15 +00:00
|
|
|
platforms = platforms.unix;
|
2020-11-09 15:59:12 +00:00
|
|
|
};
|
|
|
|
}
|