From a9cbb20640a2a95aea41b449fbf06f2073ddacff Mon Sep 17 00:00:00 2001 From: Mathias Sven Date: Fri, 24 Mar 2023 23:41:35 +0000 Subject: [PATCH 1/2] maintainers: add mathiassven Signed-off-by: Mathias Sven --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e9ecf0a3ea01..e9a265ea2644 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9399,6 +9399,12 @@ githubId = 43853194; name = "Matheus Vieira"; }; + mathiassven = { + email = "github@mathiassven.com"; + github = "MathiasSven"; + githubId = 24759037; + name = "Mathias Sven"; + }; mathnerd314 = { email = "mathnerd314.gph+hs@gmail.com"; github = "Mathnerd314"; From f2589ad2624c68e1b7c1541166490f8cb1e49808 Mon Sep 17 00:00:00 2001 From: Mathias Sven Date: Fri, 24 Mar 2023 23:18:28 +0000 Subject: [PATCH 2/2] functiontrace: init at 0.3.7 Signed-off-by: Mathias Sven Co-authored-by: Lily Foster --- .../python-modules/functiontrace/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/functiontrace/default.nix 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 { };