Skip to content

Commit

Permalink
python312Packages.runstats: init at 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
osbm committed Jan 10, 2025
1 parent a0ea2c9 commit 4a6bc63
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/runstats/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 4a6bc63

Please sign in to comment.