Files
nixpkgs/pkgs/development/python-modules/functiontrace/default.nix
Fabian Affolter 23f6d25717 python3Packages.functiontrace: 0.5.1 -> 0.5.2
This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:24 +02:00

45 lines
983 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
toml,
functiontrace-server,
}:
buildPythonPackage rec {
pname = "functiontrace";
version = "0.5.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-dVJQ28Z+fohSQOk0rXCCKrhYmBL7QB/CGO/9pBhabFE=";
};
nativeBuildInputs = [
setuptools
toml
];
pythonImportsCheck = [ "functiontrace" ];
# `functiontrace` needs `functiontrace-server` in its path.
# Technically we also need this when running via a Python import, such as for
# `python3 -m functiontrace`, but that's a less common use-case.
postFixup = ''
wrapProgram $out/bin/functiontrace \
--prefix PATH : ${lib.makeBinPath [ functiontrace-server ]}
'';
meta = {
homepage = "https://functiontrace.com";
description = "Python module for Functiontrace";
license = lib.licenses.prosperity30;
maintainers = with lib.maintainers; [
mathiassven
tehmatt
];
};
}