blob: 10c60fc80aff78e10dc1a2b5fbd970b01ccc21e0 (
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
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatch-fancy-pypi-readme,
hatch-vcs,
hatchling,
pytest-asyncio,
pytestCheckHook,
time-machine,
}:
buildPythonPackage rec {
pname = "structlog";
version = "25.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "hynek";
repo = "structlog";
tag = version;
hash = "sha256-dY18eZ7IEzP/eKR7d2CjpTRr2KfXy+YmeZMueHkLSQY=";
};
build-system = [
hatch-fancy-pypi-readme
hatch-vcs
hatchling
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
time-machine
];
pythonImportsCheck = [ "structlog" ];
meta = {
description = "Painless structural logging";
homepage = "https://github.com/hynek/structlog";
changelog = "https://github.com/hynek/structlog/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|