nixpkgs/pkgs/development/python-modules/filterpy/default.nix
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00

38 lines
829 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, matplotlib
, pytest
, isPy3k
}:
buildPythonPackage rec {
version = "1.4.5";
pname = "filterpy";
disabled = !isPy3k;
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 ];
};
}