94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
31 lines
606 B
Nix
31 lines
606 B
Nix
{ stdenv
|
|
, lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyinstrument";
|
|
version = "4.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "joerick";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-0GbJkYBgSOIZrHSKM93SW93jXD+ieYN6A01kWoFbyvQ=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|