mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
python310Packages.tracerite: init at 1.1.0
Introduced for a sanic bump
This commit is contained in:
parent
0ef17cbd0c
commit
06e2ff5aa0
48
pkgs/development/python-modules/tracerite/default.nix
Normal file
48
pkgs/development/python-modules/tracerite/default.nix
Normal 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; [ ];
|
||||||
|
};
|
||||||
|
}
|
@ -12770,6 +12770,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
traceback2 = callPackage ../development/python-modules/traceback2 { };
|
traceback2 = callPackage ../development/python-modules/traceback2 { };
|
||||||
|
|
||||||
|
tracerite = callPackage ../development/python-modules/tracerite { };
|
||||||
|
|
||||||
tracing = callPackage ../development/python-modules/tracing { };
|
tracing = callPackage ../development/python-modules/tracing { };
|
||||||
|
|
||||||
trackpy = callPackage ../development/python-modules/trackpy { };
|
trackpy = callPackage ../development/python-modules/trackpy { };
|
||||||
|
Loading…
Reference in New Issue
Block a user