2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-07-27 06:49:29 +00:00
|
|
|
fetchFromGitHub,
|
2024-06-05 15:53:02 +00:00
|
|
|
numpy,
|
|
|
|
scipy,
|
|
|
|
pytestCheckHook,
|
2024-07-27 06:49:29 +00:00
|
|
|
setuptools,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pykalman";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.9.7";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pykalman";
|
|
|
|
repo = "pykalman";
|
|
|
|
rev = "aaf8c8574b0474b6f41b7b135a9a7f2dfbd0e86c"; # no tags
|
|
|
|
hash = "sha256-++YqxGMsFGv5OxicDFO9Xz89e62NG8X+6oR6M9ePUcg=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ setuptools ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-10-09 19:29:22 +00:00
|
|
|
pythonImportsCheck = [ "pykalman" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Implementation of the Kalman Filter, Kalman Smoother, and EM algorithm in Python";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/pykalman/pykalman";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ mbalatsko ];
|
|
|
|
};
|
|
|
|
}
|