diff --git a/pkgs/development/python-modules/vine/default.nix b/pkgs/development/python-modules/vine/default.nix index 5072646b9bc1..7de529526360 100644 --- a/pkgs/development/python-modules/vine/default.nix +++ b/pkgs/development/python-modules/vine/default.nix @@ -3,18 +3,21 @@ buildPythonPackage, fetchPypi, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "vine"; version = "5.1.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-i2LpgdNcQQSSEc9ioKEkLYwe6b0Vuxls44rv1nmeYeA="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; @@ -29,8 +32,8 @@ buildPythonPackage rec { meta = { description = "Python promises"; homepage = "https://github.com/celery/vine"; - changelog = "https://github.com/celery/vine/releases/tag/v${version}"; + changelog = "https://github.com/celery/vine/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; }; -} +})