stevenblack-blocklist: 3.15.5 -> 3.15.8 (#372042)
[NixPkgs.git] / pkgs / development / python-modules / jsonformatter / default.nix
blob5351a490835b2bc76b97c56a7ab89ecbbae8fad9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "jsonformatter";
11   version = "0.3.4";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "MyColorfulDays";
16     repo = "jsonformatter";
17     tag = "v${version}";
18     hash = "sha256-A+lsSBrm/64w7yMabmuAbRCLwUUdulGH3jB/DbYJ2QY=";
19   };
21   build-system = [ setuptools ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "jsonformatter" ];
27   meta = with lib; {
28     description = "Formatter to output JSON log, e.g. output LogStash needed log";
29     homepage = "https://github.com/MyColorfulDays/jsonformatter";
30     changelog = "https://github.com/MyColorfulDays/jsonformatter/releases/tag/v${version}";
31     license = licenses.bsd2;
32     maintainers = with maintainers; [ gador ];
33   };