python3Packages.simber: modernize

This commit is contained in:
Harinn
2026-07-03 02:13:19 +07:00
parent 1444d7ded6
commit 7dccb3728a

View File

@@ -7,15 +7,17 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "simber";
version = "0.2.6";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "deepjyoti30";
repo = "simber";
tag = version;
tag = finalAttrs.version;
hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco=";
};
@@ -30,8 +32,8 @@ buildPythonPackage rec {
meta = {
description = "Simple, minimal and powerful logger for Python";
homepage = "https://github.com/deepjyoti30/simber";
changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}";
changelog = "https://github.com/deepjyoti30/simber/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ j0hax ];
};
}
})