ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
39 lines
748 B
Nix
39 lines
748 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, chardet
|
|
, configparser
|
|
, datadog
|
|
, requests
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gradient_statsd";
|
|
version = "1.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
chardet
|
|
datadog
|
|
requests
|
|
]
|
|
++ lib.optional python.isPy2 configparser;
|
|
|
|
pythonImportsCheck = [ "gradient_statsd" ];
|
|
|
|
# Pypi does not contain tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Wrapper around the DogStatsd client";
|
|
homepage = "https://paperspace.com";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
};
|
|
}
|