blob: 23158b8f9b02e61296a008e20e1d76c6dac0a99d (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "jsonformatter";
version = "0.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "MyColorfulDays";
repo = "jsonformatter";
tag = "v${version}";
hash = "sha256-A+lsSBrm/64w7yMabmuAbRCLwUUdulGH3jB/DbYJ2QY=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsonformatter" ];
meta = {
description = "Formatter to output JSON log, e.g. output LogStash needed log";
homepage = "https://github.com/MyColorfulDays/jsonformatter";
changelog = "https://github.com/MyColorfulDays/jsonformatter/releases/tag/v${version}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ gador ];
};
}
|