blob: 6d1a461b98924c617aac42e49045cd28243b722e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "statsd";
version = "4.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jsocol";
repo = "pystatsd";
tag = "v${version}";
hash = "sha256-g830TjFERKUguFKlZeaOhCTlaUs0wcDg4bMdRDr3smw=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
mock
pytestCheckHook
];
enabledTestPaths = [ "statsd/tests.py" ];
meta = {
maintainers = [ ];
description = "Simple statsd client";
license = lib.licenses.mit;
homepage = "https://github.com/jsocol/pystatsd";
};
}
|