python3Packages.error-helper: init at 1.5

This commit is contained in:
Jasper Chan
2026-01-29 16:06:23 -08:00
parent 529c164eab
commit 0cb26dfee7
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
}:
buildPythonPackage (finalAttrs: {
pname = "error-helper";
version = "1.5";
pyproject = true;
__structuredAttrs = true;
# GitHub source doesn't build correctly (fails imports check)
src = fetchPypi {
inherit (finalAttrs) version;
pname = "error_helper";
hash = "sha256-7kbzGmidsZzhoE5p9Ddjn6oDc+HUzkN02ykS0e0JodY=";
};
build-system = [
hatchling
];
# No tests in the Pypi archive.
doCheck = false;
pythonImportsCheck = [ "error_helper" ];
meta = {
description = "Minimalistic python module to print colorful messages";
homepage = "https://github.com/30350n/error_helper";
changelog = "https://github.com/30350n/error_helper/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
gigahawk
];
};
})
+2
View File
@@ -5122,6 +5122,8 @@ self: super: with self; {
eradicate = callPackage ../development/python-modules/eradicate { };
error-helper = callPackage ../development/python-modules/error-helper { };
es-client = callPackage ../development/python-modules/es-client { };
escapism = callPackage ../development/python-modules/escapism { };