bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
37 lines
625 B
Nix
37 lines
625 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pynose,
|
|
mock,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "statsd";
|
|
version = "4.0.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mXY9qBv+qNr2s9ItEarMsBqND1LqUh2qs351ikyn0Sg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
pynose
|
|
mock
|
|
];
|
|
|
|
checkPhase = ''
|
|
nosetests -sv
|
|
'';
|
|
|
|
meta = with lib; {
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
description = "Simple statsd client";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/jsocol/pystatsd";
|
|
};
|
|
}
|