python310Packages.tracerite: init at 1.1.0

Introduced for a sanic bump
This commit is contained in:
Martin Weinelt 2023-07-28 01:46:35 +02:00
parent 0ef17cbd0c
commit 06e2ff5aa0
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, html5tagger
, python
}:
buildPythonPackage rec {
pname = "tracerite";
version = "1.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "sanic-org";
repo = "tracerite";
rev = "v${version}";
hash = "sha256-At8wVR3EcHEi051BBfjb+sOhs93GyzWlEAjtehTMeNU=";
};
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
html5tagger
];
postInstall = ''
cp tracerite/style.css $out/${python.sitePackages}/tracerite
'';
# no tests
doCheck = false;
pythonImportsCheck = [
"tracerite"
];
meta = with lib; {
description = "Tracebacks for Humans (in Jupyter notebooks";
homepage = "https://github.com/sanic-org/tracerite";
license = licenses.unlicense;
maintainers = with maintainers; [ ];
};
}

View File

@ -12770,6 +12770,8 @@ self: super: with self; {
traceback2 = callPackage ../development/python-modules/traceback2 { };
tracerite = callPackage ../development/python-modules/tracerite { };
tracing = callPackage ../development/python-modules/tracing { };
trackpy = callPackage ../development/python-modules/trackpy { };