From e7cf8da2d06a6e8f78e364d3eb42d02df578c13a Mon Sep 17 00:00:00 2001 From: Martin Weinelt <hexa@darmstadt.ccc.de> Date: Fri, 16 Sep 2022 14:01:36 +0200 Subject: [PATCH] python3Packages.pluggy: use pyproject format --- pkgs/development/python-modules/pluggy/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pluggy/default.nix b/pkgs/development/python-modules/pluggy/default.nix index 8d1fcbed3a7f..46aebb519500 100644 --- a/pkgs/development/python-modules/pluggy/default.nix +++ b/pkgs/development/python-modules/pluggy/default.nix @@ -9,25 +9,22 @@ buildPythonPackage rec { pname = "pluggy"; version = "1.0.0"; + format = "pyproject"; src = fetchPypi { inherit pname version; sha256 = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"; }; - checkPhase = '' - py.test - ''; - - # To prevent infinite recursion with pytest - doCheck = false; - nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; + # To prevent infinite recursion with pytest + doCheck = false; + meta = { description = "Plugin and hook calling mechanisms for Python"; homepage = "https://github.com/pytest-dev/pluggy";