11 buildPythonPackage rec {
16 disabled = pythonOlder "3.8";
19 inherit pname version;
20 hash = "sha256-QgHGYBAy83TpyQDG0lRKL1iRq+3BqW7sDnsjOKYkdYk=";
23 nativeBuildInputs = [ setuptools ];
25 propagatedBuildInputs = [ psutil ];
27 nativeCheckInputs = [ unittestCheckHook ];
29 unittestFlagsArray = [
35 pythonImportsCheck = [ "pyperf" ];
38 description = "Python module to generate and modify perf";
39 mainProgram = "pyperf";
40 homepage = "https://pyperf.readthedocs.io/";
41 changelog = "https://github.com/psf/pyperf/releases/tag/${version}";
42 license = licenses.mit;