@@ -0,0 +1,35 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchPypi
4+, numpy
5+, scipy
6+, matplotlib
7+, pytest
8+}:
9+
10+buildPythonPackage rec {
11+ version = "1.4.5";
12+ pname = "filterpy";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ extension = "zip";
17+ sha256 = "4f2a4d39e4ea601b9ab42b2db08b5918a9538c168cff1c6895ae26646f3d73b1";
18+ };
19+
20+ checkInputs = [ pytest ];
21+ propagatedBuildInputs = [ numpy scipy matplotlib ];
22+
23+ # single test fails (even on master branch of repository)
24+ # project does not use CI
25+ checkPhase = ''
26+ pytest --ignore=filterpy/common/tests/test_discretization.py
27+ '';
28+
29+ meta = with stdenv.lib; {
30+ homepage = https://github.com/rlabbe/filterpy;
31+ description = "Kalman filtering and optimal estimation library";
32+ license = licenses.mit;
33+ maintainers = [ maintainers.costrouc ];
34+ };
35+}