python3Packages.simber: migrate to pyproject (#540250)

This commit is contained in:
Yohann Boniface
2026-07-15 12:26:00 +00:00
committed by GitHub

View File

@@ -2,23 +2,28 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
colorama,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "simber";
version = "0.2.6";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "deepjyoti30";
repo = "simber";
tag = version;
tag = finalAttrs.version;
hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco=";
};
propagatedBuildInputs = [ colorama ];
build-system = [ setuptools ];
dependencies = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -27,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 ];
};
}
})