diff --git a/pkgs/development/python-modules/functiontrace/default.nix b/pkgs/development/python-modules/functiontrace/default.nix new file mode 100644 index 000000000000..0b34da111b36 --- /dev/null +++ b/pkgs/development/python-modules/functiontrace/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, toml +}: + +buildPythonPackage rec { + pname = "functiontrace"; + version = "0.3.7"; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-3bnxZFq1/D9ntwfv7O2YU6MnKEDWWIG4zX0e3cgCleg="; + }; + + nativeBuildInputs = [ + setuptools + toml + ]; + + pythonImportsCheck = [ "functiontrace" ]; + + meta = with lib; { + homepage = "https://functiontrace.com"; + description = "The Python module for Functiontrace"; + license = licenses.prosperity30; + maintainers = with maintainers; [ mathiassven ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4e7f2e055eed..ef707eb837db 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3711,6 +3711,8 @@ self: super: with self; { funcsigs = callPackage ../development/python-modules/funcsigs { }; + functiontrace = callPackage ../development/python-modules/functiontrace { }; + functools32 = callPackage ../development/python-modules/functools32 { }; funcy = callPackage ../development/python-modules/funcy { };