From 912d110d620df74822d456d9ed9a7d9b66e85f0d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Jan 2024 14:19:58 +0100 Subject: [PATCH] python311Packages.dynalite-devices: remove patch --- .../python-modules/dynalite-devices/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/dynalite-devices/default.nix b/pkgs/development/python-modules/dynalite-devices/default.nix index bd2c964605f4..b057158b731a 100644 --- a/pkgs/development/python-modules/dynalite-devices/default.nix +++ b/pkgs/development/python-modules/dynalite-devices/default.nix @@ -1,16 +1,16 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , pytest-asyncio , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "dynalite-devices"; version = "0.1.48"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -21,18 +21,14 @@ buildPythonPackage rec { hash = "sha256-i88aIsRNsToSceQdwfspJg+Y5MO5zC4O6EkyhrYR27g="; }; - patches = [ - (fetchpatch { - # remove asynctest from tests - url = "https://github.com/ziv1234/python-dynalite-devices/commit/1729035f2b435b345b4e694aeae5d1823d732208.patch"; - hash = "sha256-LqFXrJrZTPPjPnWT4+blHFYS3W1fD9T+iwaLUauxjNE="; - }) - ]; - postPatch = '' sed -i '/^addopts/d' setup.cfg ''; + nativeBuildInputs = [ + setuptools + ]; + nativeCheckInputs = [ pytest-asyncio pytestCheckHook