27 python3Packages.buildPythonApplication rec {
33 src = fetchFromGitHub {
34 owner = "arunsivaramanneo";
36 rev = "refs/tags/v${version}";
37 hash = "sha256-vFU2VdafY1HmPGRa20PwT6n+Xf4bKBzKJ5jWpvwyMWg=";
55 pythonPath = with python3Packages; [
60 # Prevent double wrapping
64 makeWrapper ${python3.interpreter} $out/bin/gpu-viewer \
74 --add-flags "$out/share/gpu-viewer/Files/GPUViewer.py" \
75 --prefix PYTHONPATH : "$PYTHONPATH" \
76 --chdir "$out/share/gpu-viewer/Files" \
77 ''${makeWrapperArgs[@]} \
78 ''${gappsWrapperArgs[@]}
82 homepage = "https://github.com/arunsivaramanneo/GPU-Viewer";
83 description = "Front-end to glxinfo, vulkaninfo, clinfo and es2_info";
84 changelog = "https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v${version}";
85 maintainers = with lib.maintainers; [ GaetanLepage ];
86 license = lib.licenses.gpl3;
87 platforms = lib.platforms.linux;
88 mainProgram = "gpu-viewer";