1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 numpy,
6 scipy,
7 scikit-base,
8 pytestCheckHook,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "pykalman";
14 version = "0.10.2";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "pykalman";
19 repo = "pykalman";
20 tag = "v${version}";
21 hash = "sha256-SMK0b2twlHk4sbNfwWafqDYXlhrZhgpaC1nhv2XQaqo=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 numpy
28 scipy
29 scikit-base
30 ];
31
32 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "pykalman" ];
34
35 meta = with lib; {
36 description = "Implementation of the Kalman Filter, Kalman Smoother, and EM algorithm in Python";
37 homepage = "https://github.com/pykalman/pykalman";
38 license = licenses.bsd2;
39 maintainers = with maintainers; [ mbalatsko ];
40 };
41}