75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
29 lines
713 B
Nix
29 lines
713 B
Nix
{ lib, fetchPypi, buildPythonPackage
|
|
, 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" ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|