Unverified Commit 6ee60ec7 authored by Ryan Omasta's avatar Ryan Omasta
Browse files

python3Packages.stackprinter: init at 0.2.12

parent 686386f4
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -17089,6 +17089,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 =