fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
30 lines
712 B
Nix
30 lines
712 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonformatter";
|
|
version = "0.3.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MyColorfulDays";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-oK419J/MIxRT+1j/5Yklj1F+4d3wuMXR8IVqJAMKPNw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "jsonformatter" ];
|
|
|
|
meta = with lib; {
|
|
description = "jsonformatter is a formatter for python output json log, e.g. output LogStash needed log";
|
|
homepage = "https://github.com/MyColorfulDays/jsonformatter";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ gador ];
|
|
};
|
|
}
|