diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-10 21:44:16 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-11 15:37:27 -0400 |
commit | 9fc4f0681070ea486562f6b96be8639e57f8c86e (patch) | |
tree | 7530ff321ceb3dc3e4fbd4a9b50ba4220712f15a /pkgs/development/python-modules | |
parent | 29d0eec15faa315b45bbae08f43ac40e7cb2b4aa (diff) | |
download | nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.tar nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.tar.gz nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.tar.bz2 nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.tar.lz nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.tar.xz nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.tar.zst nixpkgs-9fc4f0681070ea486562f6b96be8639e57f8c86e.zip |
pythonPackages.filterpy: init at 1.4.5
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/filterpy/default.nix | 35 |
1 files changed, 35 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 00000000000..47f2c083d8a --- /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 ]; + }; +} |