depot/third_party/nixpkgs/pkgs/development/python-modules/vmprof/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

32 lines
604 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, colorama
, libunwind
, pytz
, requests
, six
}:
buildPythonPackage rec {
version = "0.4.15";
pname = "vmprof";
src = fetchPypi {
inherit pname version;
sha256 = "a2d872a40196404386d1e0d960e97b37c86c3f72a4f9d5a2b5f9ca1adaff5b62";
};
buildInputs = [ libunwind ];
propagatedBuildInputs = [ colorama requests six pytz ];
# No tests included
doCheck = false;
pythonImportsCheck = [ "vmprof" ];
meta = with lib; {
description = "A vmprof client";
license = licenses.mit;
homepage = "https://vmprof.readthedocs.org/";
};
}