Merge pull request #237049 from fabaff/gpustat-pytest-runner
python311Packages.gpustat: remove pytest-runner
This commit is contained in:
commit
7dce19a7f0
1 changed files with 18 additions and 7 deletions
|
@ -1,26 +1,34 @@
|
|||
{ buildPythonPackage
|
||||
{ lib
|
||||
, blessed
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, mockito
|
||||
, nvidia-ml-py
|
||||
, psutil
|
||||
, pytest-runner
|
||||
, pythonRelaxDepsHook
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gpustat";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-WB6P+FjDLJWjIruPA/HZ3D0Xe07LM93L7Sw3PGf04/E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "nvidia-ml-py" ];
|
||||
pythonRelaxDeps = [
|
||||
"nvidia-ml-py"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
blessed
|
||||
|
@ -33,11 +41,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "gpustat" ];
|
||||
pythonImportsCheck = [
|
||||
"gpustat"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple command-line utility for querying and monitoring GPU status";
|
||||
homepage = "https://github.com/wookayin/gpustat";
|
||||
changelog = "https://github.com/wookayin/gpustat/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ billhuang ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue