From ead5eba6b371b8a849ac4ed7f427fc2ebe09d6d2 Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Sat, 13 Jul 2024 05:36:26 -0700 Subject: [PATCH] python3Packages.expiringdict: use PEP 517 builder --- pkgs/development/python-modules/expiringdict/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/expiringdict/default.nix b/pkgs/development/python-modules/expiringdict/default.nix index 4fc3366a7a42a..e4904230a4978 100644 --- a/pkgs/development/python-modules/expiringdict/default.nix +++ b/pkgs/development/python-modules/expiringdict/default.nix @@ -6,12 +6,13 @@ dill, mock, pytestCheckHook, + setuptools }: buildPythonPackage rec { pname = "expiringdict"; version = "1.2.2"; - format = "setuptools"; + pyproject = true; # use fetchFromGitHub instead of fetchPypi because the test suite of # the package is not included into the PyPI tarball @@ -36,6 +37,8 @@ buildPythonPackage rec { }) ]; + build-system = [ setuptools ]; + nativeCheckInputs = [ dill mock