nixpkgs/pkgs/development/python-modules/python_statsd/default.nix

29 lines
575 B
Nix
Raw Normal View History

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