git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.filterpy: init at 1.4.5
commit9fc4f0681070ea486562f6b96be8639e57f8c86e authorChris Ostrouchov <chris.ostrouchov@gmail.com> dateWed 10 Oct 2018, 21:44 (8 years ago) parent29d0eec
2 files changed+37
pkgs/development/python-modules/filterpy/default.nix+35 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/filterpy/default.nixnew file+35
@@ -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+}
pkgs/top-level/python-packages.nix+2
@@ -302,6 +302,8 @@ in {
302302
303303 fido2 = callPackage ../development/python-modules/fido2 { };
304304
305+ filterpy = callPackage ../development/python-modules/filterpy { };
306+
305307 fire = callPackage ../development/python-modules/fire { };
306308
307309 fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; };