Merge pull request #280727 from fabaff/dynalite-devices-fix

python311Packages.dynalite-devices: remove patch
This commit is contained in:
Nick Cao 2024-01-13 10:43:48 -05:00 committed by GitHub
commit a2a0302e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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