depot/third_party/nixpkgs/pkgs/development/python-modules/pyinstrument/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

31 lines
616 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pyinstrument";
version = "4.5.0";
src = fetchFromGitHub {
owner = "joerick";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-HvPapa3b9/Wc4ClaMOmCAIeHS7H4V9aCR9JCDol2ElE=";
};
# Module import recursion
doCheck = false;
pythonImportsCheck = [
"pyinstrument"
];
meta = with lib; {
description = "Call stack profiler for Python";
homepage = "https://github.com/joerick/pyinstrument";
license = licenses.bsd3;
maintainers = with maintainers; [ onny ];
};
}