depot/third_party/nixpkgs/pkgs/development/python-modules/pykalman/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

39 lines
839 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
scipy,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pykalman";
version = "0.9.7";
pyproject = true;
src = fetchFromGitHub {
owner = "pykalman";
repo = "pykalman";
rev = "aaf8c8574b0474b6f41b7b135a9a7f2dfbd0e86c"; # no tags
hash = "sha256-++YqxGMsFGv5OxicDFO9Xz89e62NG8X+6oR6M9ePUcg=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
numpy
scipy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pykalman" ];
meta = with lib; {
description = "Implementation of the Kalman Filter, Kalman Smoother, and EM algorithm in Python";
homepage = "https://github.com/pykalman/pykalman";
license = licenses.bsd2;
maintainers = with maintainers; [ mbalatsko ];
};
}