python3Packages.gradient_statsd: init at 1.0.1

This commit is contained in:
freezeboy 2020-11-02 04:48:36 +01:00 committed by Jonathan Ringer
parent bbc0af82bd
commit a73cedd74f
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchPypi, buildPythonPackage
, 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" ];
meta = with stdenv.lib; {
description = "Wrapper around the DogStatsd client";
homepage = "https://paperspace.com";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ freezeboy ];
};
}

View File

@ -2564,6 +2564,8 @@ in {
gradient_sdk = callPackage ../development/python-modules/gradient_sdk { }; gradient_sdk = callPackage ../development/python-modules/gradient_sdk { };
gradient_statsd = callPackage ../development/python-modules/gradient_statsd { };
grammalecte = callPackage ../development/python-modules/grammalecte { }; grammalecte = callPackage ../development/python-modules/grammalecte { };
grandalf = callPackage ../development/python-modules/grandalf { }; grandalf = callPackage ../development/python-modules/grandalf { };