2018-10-27 22:47:35 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
, coverage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-statsd";
|
2018-11-04 10:35:14 +00:00
|
|
|
version = "2.1.0";
|
2018-10-27 22:47:35 +01:00
|
|
|
disabled = isPy3k; # next release will be py3k compatible
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:14 +00:00
|
|
|
sha256 = "d2c573d325d0f015b4d79f0d0f8c88dd8413d7b9ef890c09076a9b6089ab301c";
|
2018-10-27 22:47:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mock nose coverage ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A client for Etsy's node-js statsd server";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/WoLpH/python-statsd";
|
2018-10-27 22:47:35 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|