vprof: init at 0.38
This commit is contained in:
parent
ba7b927fbe
commit
ad773d71ed
42
pkgs/development/python-modules/vprof/default.nix
Normal file
42
pkgs/development/python-modules/vprof/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, wheel
|
||||
, psutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vprof";
|
||||
version = "0.38";
|
||||
pyproject = true;
|
||||
|
||||
# We use the Pypi source rather than the GitHub ones because the former include the javascript
|
||||
# dependency for the UI.
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-fxAAkS7rekUMfJTTzJZzmvRa0P8B1avMCwmhddQP+ts=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
psutil
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "vprof" ];
|
||||
|
||||
# The tests are not included in the Pypi sources
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Visual profiler for Python";
|
||||
homepage = "https://github.com/nvdv/vprof";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
mainProgram = "vprof";
|
||||
};
|
||||
}
|
|
@ -2116,6 +2116,8 @@ with pkgs;
|
|||
|
||||
vopono = callPackage ../tools/networking/vopono { };
|
||||
|
||||
vprof = with python3Packages; toPythonApplication vprof;
|
||||
|
||||
vrc-get = callPackage ../tools/misc/vrc-get {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
|
@ -15583,6 +15583,8 @@ self: super: with self; {
|
|||
|
||||
vpk = callPackage ../development/python-modules/vpk { };
|
||||
|
||||
vprof = callPackage ../development/python-modules/vprof { };
|
||||
|
||||
vqgan-jax = callPackage ../development/python-modules/vqgan-jax { };
|
||||
|
||||
vsts = callPackage ../development/python-modules/vsts { };
|
||||
|
|
Loading…
Reference in New Issue
Block a user