File tree Expand file tree Collapse file tree
development/python-modules/viztracer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ setuptools ,
6+ objprint ,
7+ orjson ,
8+ nix-update-script ,
9+ } :
10+
11+ buildPythonPackage rec {
12+ __structuredAttrs = true ;
13+
14+ pname = "viztracer" ;
15+ version = "1.1.1" ;
16+ pyproject = true ;
17+
18+ src = fetchFromGitHub {
19+ owner = "gaogaotiantian" ;
20+ repo = "viztracer" ;
21+ tag = version ;
22+ hash = "sha256-j+PbPZY9ZmOyF0nPEP/Ba34HPx2SUPNlaXAjj3GG9dc=" ;
23+ } ;
24+
25+ build-system = [ setuptools ] ;
26+
27+ dependencies = [ objprint ] ;
28+
29+ optional-dependencies = {
30+ full = [ orjson ] ;
31+ } ;
32+
33+ pythonImportsCheck = [ "viztracer" ] ;
34+
35+ passthru . updateScript = nix-update-script { } ;
36+
37+ meta = {
38+ description = "Debugging and profiling tool that can trace and visualize python code execution" ;
39+ homepage = "https://github.com/gaogaotiantian/viztracer" ;
40+ changelog = "https://github.com/gaogaotiantian/viztracer/releases/tag/${ version } " ;
41+ license = lib . licenses . asl20 ;
42+ maintainers = with lib . maintainers ; [ nemeott ] ;
43+ mainProgram = "viztracer" ;
44+ } ;
45+ }
Original file line number Diff line number Diff line change @@ -21465,6 +21465,8 @@ self: super: with self; {
2146521465 inherit (pkgs.libsForQt5) wrapQtAppsHook;
2146621466 };
2146721467
21468+ viztracer = callPackage ../development/python-modules/viztracer { };
21469+
2146821470 vl-convert-python = callPackage ../development/python-modules/vl-convert-python {
2146921471 inherit (pkgs) protobuf;
2147021472 };
You can’t perform that action at this time.
0 commit comments