30 python3Packages.buildPythonApplication rec {
36 src = fetchFromGitHub {
37 owner = "arunsivaramanneo";
39 rev = "refs/tags/v${version}";
40 hash = "sha256-P1zA/sjE4w2pdRDtJ8pGi4Rf8o4EmiRo6j17BRNu0IA=";
58 pythonPath = with python3Packages; [
63 # Prevent double wrapping
67 makeWrapper ${python3.interpreter} $out/bin/gpu-viewer \
77 --add-flags "$out/share/gpu-viewer/Files/GPUViewer.py" \
78 --prefix PYTHONPATH : "$PYTHONPATH" \
79 --chdir "$out/share/gpu-viewer/Files" \
80 ''${makeWrapperArgs[@]} \
81 ''${gappsWrapperArgs[@]}
85 updateScript = nix-update-script { };
89 homepage = "https://github.com/arunsivaramanneo/GPU-Viewer";
90 description = "Front-end to glxinfo, vulkaninfo, clinfo and es2_info";
91 changelog = "https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v${version}";
92 maintainers = with lib.maintainers; [ GaetanLepage ];
93 license = lib.licenses.gpl3;
94 platforms = lib.platforms.linux;
95 mainProgram = "gpu-viewer";