python311Packages.dynalite-devices: remove patch

This commit is contained in:
Fabian Affolter 2024-01-13 14:19:58 +01:00
parent 3d673c9b54
commit 912d110d62

View file

@ -1,16 +1,16 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dynalite-devices"; pname = "dynalite-devices";
version = "0.1.48"; version = "0.1.48";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,18 +21,14 @@ buildPythonPackage rec {
hash = "sha256-i88aIsRNsToSceQdwfspJg+Y5MO5zC4O6EkyhrYR27g="; 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 = '' postPatch = ''
sed -i '/^addopts/d' setup.cfg sed -i '/^addopts/d' setup.cfg
''; '';
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook