Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, click, fetchFromGitHub, loguru, pytestCheckHook, rich, uv-build,}:
buildPythonPackage (finalAttrs: { pname = "logurich"; version = "0.9.2"; pyproject = true;
src = fetchFromGitHub { owner = "PakitoSec"; repo = "logurich"; tag = "v${finalAttrs.version}"; hash = "sha256-rQuASijZnIPM5+00U7n4+rTBiUILCcCH+UW56NCTr2k="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.9.20,<0.10.0" "uv_build" '';
pythonRelaxDeps = [ "rich" ];
build-system = [ uv-build ];
dependencies = [ loguru rich ];
optional-dependencies = { click = [ click ]; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "logurich" ];
meta = { description = "Logger that combine loguru and rich"; homepage = "https://github.com/PakitoSec/logurich"; changelog = "https://github.com/PakitoSec/logurich/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})