diff --git a/pkgs/development/python-modules/vg/default.nix b/pkgs/development/python-modules/vg/default.nix index 820b8759bfbd..dbf4b1436b94 100644 --- a/pkgs/development/python-modules/vg/default.nix +++ b/pkgs/development/python-modules/vg/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "vg"; version = "2.0.0"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -27,19 +27,21 @@ buildPythonPackage rec { --replace 'requires = ["setuptools", "poetry-core>=1.0.0"]' 'requires = ["poetry-core>=1.0.0"]' ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ numpy ]; + dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ "test_basic" ]; + pythonImportsCheck = [ "vg" ]; - meta = with lib; { + meta = { description = "Linear algebra for humans: a very good vector-geometry and linear-algebra toolbelt"; homepage = "https://github.com/lace/vg"; changelog = "https://github.com/lace/vg/blob/${version}/CHANGELOG.md"; - license = with licenses; [ bsd2 ]; - maintainers = with maintainers; [ clerie ]; + license = [ lib.licenses.bsd2 ]; + maintainers = with lib.maintainers; [ clerie ]; }; }