From a0ea2c95092ce9623951c9883f6a22a73d3cd0a2 Mon Sep 17 00:00:00 2001 From: osbm Date: Mon, 6 Jan 2025 17:08:59 +0300 Subject: [PATCH 1/2] maintainers: add osbm --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 77493c7f1090..01cb6a646eeb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17069,6 +17069,12 @@ githubId = 7820716; name = "orthros"; }; + osbm = { + email = "osmanfbayram@gmail.com"; + github = "osbm"; + githubId = 74963545; + name = "Osman Bayram"; + }; osener = { email = "ozan@ozansener.com"; github = "ozanmakes"; From 4a6bc638b0341b173995f5bb371108025075b721 Mon Sep 17 00:00:00 2001 From: osbm Date: Fri, 10 Jan 2025 20:10:18 +0300 Subject: [PATCH 2/2] python312Packages.runstats: init at 2.0.0 --- .../python-modules/runstats/default.nix | 43 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/development/python-modules/runstats/default.nix diff --git a/pkgs/development/python-modules/runstats/default.nix b/pkgs/development/python-modules/runstats/default.nix new file mode 100644 index 000000000000..019039a3ec1f --- /dev/null +++ b/pkgs/development/python-modules/runstats/default.nix @@ -0,0 +1,43 @@ +{ + lib, + setuptools, + cython, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + pytest-cov-stub, + pytest-xdist, +}: + +buildPythonPackage rec { + pname = "runstats"; + version = "2.0.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "grantjenks"; + repo = "python-runstats"; + tag = "v${version}"; + hash = "sha256-YF6S5w/ccWM08nl9inWGbaLKJ8/ivW6c7A9Ny20fldU="; + }; + + build-system = [ + setuptools + cython + ]; + + nativeCheckInputs = [ + pytest-cov-stub + pytest-xdist + pytestCheckHook + ]; + + pythonImportsCheck = [ "runstats" ]; + + meta = { + description = "Python module for computing statistics and regression in a single pass"; + homepage = "https://github.com/grantjenks/python-runstats"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ osbm ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 481a660c4f47..b3a74e6816a4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14331,6 +14331,8 @@ self: super: with self; { runs = callPackage ../development/python-modules/runs { }; + runstats = callPackage ../development/python-modules/runstats { }; + ruuvitag-ble = callPackage ../development/python-modules/ruuvitag-ble { }; ruyaml = callPackage ../development/python-modules/ruyaml { };