Commit 4a6bc638 authored by osbm's avatar osbm
Browse files

python312Packages.runstats: init at 2.0.0

parent a0ea2c95
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };