diff --git a/pkgs/development/python-modules/quadprog/default.nix b/pkgs/development/python-modules/quadprog/default.nix index 47a3f4e1a555..c566887bb363 100644 --- a/pkgs/development/python-modules/quadprog/default.nix +++ b/pkgs/development/python-modules/quadprog/default.nix @@ -3,6 +3,7 @@ , pythonOlder , fetchFromGitHub , cython +, setuptools , numpy , pytestCheckHook , scipy @@ -10,40 +11,32 @@ buildPythonPackage rec { pname = "quadprog"; - version = "0.1.11"; - format = "setuptools"; + version = "0.1.12"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { - owner = pname; - repo = pname; + owner = "quadprog"; + repo = "quadprog"; rev = "v${version}"; - hash = "sha256-/suv1KbG3HbiYqEiuCtB/ia3xbxAO5AMuWx1Svy0rMw="; + hash = "sha256-3S846PaNfZ4j3r6Vi2o6+Jk+2kC/P7tMSQQiB/Kx8nI="; }; nativeBuildInputs = [ cython + setuptools ]; propagatedBuildInputs = [ numpy ]; - preBuild = '' - cython quadprog/quadprog.pyx - ''; - nativeCheckInputs = [ pytestCheckHook scipy ]; - pytestFlagsArray = [ - # test fails on aarch64-darwin - "--deselect=tests/test_1.py::test_5" - ]; - meta = with lib; { homepage = "https://github.com/quadprog/quadprog"; changelog = "https://github.com/quadprog/quadprog/releases/tag/v${version}";