biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / statsd / default.nix
blob21127c85adf8db958f40db5d16c872a64ba65212
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   mock,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "statsd";
12   version = "4.0.1";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "jsocol";
17     repo = "pystatsd";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-g830TjFERKUguFKlZeaOhCTlaUs0wcDg4bMdRDr3smw=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   nativeCheckInputs = [
25     mock
26     pytestCheckHook
27   ];
29   pytestFlagsArray = [ "statsd/tests.py" ];
31   meta = with lib; {
32     maintainers = with maintainers; [ domenkozar ];
33     description = "Simple statsd client";
34     license = licenses.mit;
35     homepage = "https://github.com/jsocol/pystatsd";
36   };