diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2018-10-11 22:41:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-11 22:41:36 +0200 |
commit | c166d0502594295e13045e2ef4b2698f65c5d2d4 (patch) | |
tree | 96e80ae32962a7cd6173e5ed3eda686a0a2d58a7 | |
parent | e4f8d5c254d8cb94fa4b2da1ae785e9f3fdf7976 (diff) | |
parent | 9fc4f0681070ea486562f6b96be8639e57f8c86e (diff) | |
download | nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.tar nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.tar.gz nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.tar.bz2 nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.tar.lz nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.tar.xz nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.tar.zst nixlib-c166d0502594295e13045e2ef4b2698f65c5d2d4.zip |
Merge pull request #48192 from costrouc/costrouc/python-filterpy
pythonPackages.filterpy: init at 1.4.5
-rw-r--r-- | pkgs/development/python-modules/filterpy/default.nix | 35 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/filterpy/default.nix b/pkgs/development/python-modules/filterpy/default.nix new file mode 100644 index 000000000000..47f2c083d8a3 --- /dev/null +++ b/pkgs/development/python-modules/filterpy/default.nix @@ -0,0 +1,35 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, numpy +, scipy +, matplotlib +, pytest +}: + +buildPythonPackage rec { + version = "1.4.5"; + pname = "filterpy"; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "4f2a4d39e4ea601b9ab42b2db08b5918a9538c168cff1c6895ae26646f3d73b1"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ numpy scipy matplotlib ]; + + # single test fails (even on master branch of repository) + # project does not use CI + checkPhase = '' + pytest --ignore=filterpy/common/tests/test_discretization.py + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/rlabbe/filterpy; + description = "Kalman filtering and optimal estimation library"; + license = licenses.mit; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8012e6e11e5c..b8677cf5eeae 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -302,6 +302,8 @@ in { fido2 = callPackage ../development/python-modules/fido2 { }; + filterpy = callPackage ../development/python-modules/filterpy { }; + fire = callPackage ../development/python-modules/fire { }; fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; }; |