diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3a79ef83c309..01c5d938ca4f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17189,6 +17189,12 @@ githubId = 7820716; name = "orthros"; }; + osbm = { + email = "osmanfbayram@gmail.com"; + github = "osbm"; + githubId = 74963545; + name = "Osman Bayram"; + }; osener = { email = "ozan@ozansener.com"; github = "ozanmakes"; 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 c19355eced0a..1b63969a5d24 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14360,6 +14360,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 { };