python3Packages.stackprinter: init at 0.2.12

(cherry picked from commit 6ee60ec750)
This commit is contained in:
Ryan Omasta
2025-07-09 18:30:35 -06:00
committed by github-actions[bot]
parent 0ef2282130
commit 1fe961ab4c
2 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numpy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "stackprinter";
version = "0.2.12";
pyproject = true;
src = fetchFromGitHub {
owner = "cknd";
repo = "stackprinter";
tag = version;
hash = "sha256-Offow68i2Nh65sh5ZowlSdV1SKF2RIfwlRv4z1bCu+k=";
};
build-system = [
setuptools
];
dependencies = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"stackprinter"
"stackprinter.colorschemes"
"stackprinter.extraction"
"stackprinter.formatting"
"stackprinter.frame_formatting"
"stackprinter.prettyprinting"
"stackprinter.source_inspection"
"stackprinter.tracing"
"stackprinter.utils"
];
meta = {
description = "Debugging-friendly exceptions for Python";
homepage = "https://github.com/cknd/stackprinter";
changelog = "https://github.com/cknd/stackprinter/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ryand56 ];
};
}

View File

@@ -16676,6 +16676,8 @@ self: super: with self; {
stack-data = callPackage ../development/python-modules/stack-data { };
stackprinter = callPackage ../development/python-modules/stackprinter { };
stamina = callPackage ../development/python-modules/stamina { };
standard-aifc =