2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 13:27:06 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-12 21:53:22 +01:00
|
|
|
, colorama
|
|
|
|
, libunwind
|
|
|
|
, pytz
|
2018-10-29 13:27:06 +00:00
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-16 10:43:16 +01:00
|
|
|
version = "0.4.15";
|
2018-10-29 13:27:06 +00:00
|
|
|
pname = "vmprof";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:16 +01:00
|
|
|
sha256 = "a2d872a40196404386d1e0d960e97b37c86c3f72a4f9d5a2b5f9ca1adaff5b62";
|
2018-10-29 13:27:06 +00:00
|
|
|
};
|
|
|
|
|
2020-06-12 21:53:22 +01:00
|
|
|
buildInputs = [ libunwind ];
|
|
|
|
propagatedBuildInputs = [ colorama requests six pytz ];
|
2018-10-29 13:27:06 +00:00
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
2020-06-12 21:53:22 +01:00
|
|
|
pythonImportsCheck = [ "vmprof" ];
|
2018-10-29 13:27:06 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 13:27:06 +00:00
|
|
|
description = "A vmprof client";
|
|
|
|
license = licenses.mit;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://vmprof.readthedocs.org/";
|
2018-10-29 13:27:06 +00:00
|
|
|
};
|
|
|
|
}
|