depot/third_party/nixpkgs/pkgs/development/python-modules/statsd/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

37 lines
710 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "statsd";
version = "4.0.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "jsocol";
repo = "pystatsd";
rev = "refs/tags/v${version}";
hash = "sha256-g830TjFERKUguFKlZeaOhCTlaUs0wcDg4bMdRDr3smw=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
mock
pytestCheckHook
];
pytestFlagsArray = [ "statsd/tests.py" ];
meta = with lib; {
maintainers = with maintainers; [ domenkozar ];
description = "Simple statsd client";
license = licenses.mit;
homepage = "https://github.com/jsocol/pystatsd";
};
}