diff --git a/pkgs/development/python-modules/filterpy/default.nix b/pkgs/development/python-modules/filterpy/default.nix index 039c2e863ac7..9522b0c4c27e 100644 --- a/pkgs/development/python-modules/filterpy/default.nix +++ b/pkgs/development/python-modules/filterpy/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, numpy, scipy, matplotlib, @@ -11,8 +12,8 @@ buildPythonPackage { pname = "filterpy"; - version = "unstable-2022-08-23"; - format = "setuptools"; + version = "1.4.5-unstable-2022-08-23"; + pyproject = true; disabled = !isPy3k; @@ -23,14 +24,21 @@ buildPythonPackage { hash = "sha256-KuuVu0tqrmQuNKYmDmdy+TU6BnnhDxh4G8n9BGzjGag="; }; - nativeCheckInputs = [ pytestCheckHook ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ numpy scipy matplotlib ]; + nativeCheckInputs = [ pytestCheckHook ]; + + disabledTests = [ + # ValueError: Unable to avoid copy while creating an array as requested." + "test_multivariate_gaussian" + ]; + meta = with lib; { homepage = "https://github.com/rlabbe/filterpy"; description = "Kalman filtering and optimal estimation library";