9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
31 lines
616 B
Nix
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 ];
|
|
};
|
|
}
|