nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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.11.1";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "pykalman";
19 repo = "pykalman";
20 tag = "v${version}";
21 hash = "sha256-8VPSz2pdK5jrVAYgZv64nCKC0E7JtQ1iKFEN0ko4fQE=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 numpy
28 scipy
29 scikit-base
30 ];
31
32 pythonRelaxDeps = [ "scikit-base" ];
33
34 nativeCheckInputs = [ pytestCheckHook ];
35 pythonImportsCheck = [ "pykalman" ];
36
37 meta = {
38 description = "Implementation of the Kalman Filter, Kalman Smoother, and EM algorithm in Python";
39 homepage = "https://github.com/pykalman/pykalman";
40 license = lib.licenses.bsd2;
41 maintainers = [ ];
42 };
43}