c6ca5b8f13
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
31 lines
606 B
Nix
31 lines
606 B
Nix
{ stdenv
|
|
, lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyinstrument";
|
|
version = "4.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "joerick";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-4gM60UhzN+VnNMTHw6NSU7/LUPHaMgg105D+dO6SDfg=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|