python3Packages.nvidia-dlprofviewer: init at 1.8.0 (#541745)

This commit is contained in:
Sandro
2026-07-14 11:58:04 +00:00
committed by GitHub
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,58 @@
{
lib,
buildPythonPackage,
fetchurl,
autoAddDriverRunpath,
autoPatchelfHook,
django,
gunicorn,
setuptools,
sqlite,
uvicorn,
whitenoise,
}:
buildPythonPackage (finalAttrs: {
pname = "nvidia-dlprofviewer";
version = "1.8.0";
__structuredAttrs = true;
format = "wheel";
src = fetchurl {
url = "https://pypi.nvidia.com/nvidia-dlprofviewer/nvidia_dlprofviewer-${finalAttrs.version}-py3-none-any.whl";
hash = "sha256-KrfLZ6NdP31qfSfOBl8944ZE2xZ+kgjkyt+QPUblYVA=";
};
pythonImportsCheck = [
"dlprofviewer"
];
nativeBuildInputs = [
autoAddDriverRunpath
autoPatchelfHook
];
autoPatchelfIgnoreMissingDeps = [
"libnvidia-ml.so.1"
];
propagatedBuildInputs = [
django
gunicorn
setuptools
sqlite
uvicorn
whitenoise
];
pythonRelaxDeps = [
"django"
];
meta = {
description = "NVIDIA DLProf Viewer";
homepage = "https://docs.nvidia.com/deeplearning/frameworks/dlprof-user-guide/index.html";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ jlesquembre ];
};
})
+2
View File
@@ -11937,6 +11937,8 @@ self: super: with self; {
callPackage ../development/python-modules/nvidia-dlprof-pytorch-nvtx
{ };
nvidia-dlprofviewer = callPackage ../development/python-modules/nvidia-dlprofviewer { };
nvidia-ml-py = callPackage ../development/python-modules/nvidia-ml-py { };
nwdiag = callPackage ../development/python-modules/nwdiag { };