mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
python3Packages.stackprinter: init at 0.2.12
(cherry picked from commit 6ee60ec750)
This commit is contained in:
committed by
github-actions[bot]
parent
0ef2282130
commit
1fe961ab4c
54
pkgs/development/python-modules/stackprinter/default.nix
Normal file
54
pkgs/development/python-modules/stackprinter/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -16676,6 +16676,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
stack-data = callPackage ../development/python-modules/stack-data { };
|
stack-data = callPackage ../development/python-modules/stack-data { };
|
||||||
|
|
||||||
|
stackprinter = callPackage ../development/python-modules/stackprinter { };
|
||||||
|
|
||||||
stamina = callPackage ../development/python-modules/stamina { };
|
stamina = callPackage ../development/python-modules/stamina { };
|
||||||
|
|
||||||
standard-aifc =
|
standard-aifc =
|
||||||
|
|||||||
Reference in New Issue
Block a user