1{
2 lib,
3 setuptools,
4 cython,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pytestCheckHook,
8 pytest-cov-stub,
9 pytest-xdist,
10}:
11
12buildPythonPackage rec {
13 pname = "runstats";
14 version = "2.0.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "grantjenks";
19 repo = "python-runstats";
20 tag = "v${version}";
21 hash = "sha256-YF6S5w/ccWM08nl9inWGbaLKJ8/ivW6c7A9Ny20fldU=";
22 };
23
24 build-system = [
25 setuptools
26 cython
27 ];
28
29 nativeCheckInputs = [
30 pytest-cov-stub
31 pytest-xdist
32 pytestCheckHook
33 ];
34
35 pythonImportsCheck = [ "runstats" ];
36
37 meta = {
38 description = "Python module for computing statistics and regression in a single pass";
39 homepage = "https://github.com/grantjenks/python-runstats";
40 license = lib.licenses.asl20;
41 maintainers = with lib.maintainers; [ osbm ];
42 };
43}