diff --git a/pkgs/development/python-modules/aioasuswrt/default.nix b/pkgs/development/python-modules/aioasuswrt/default.nix index 0e25ab3581a..edd2796eca4 100644 --- a/pkgs/development/python-modules/aioasuswrt/default.nix +++ b/pkgs/development/python-modules/aioasuswrt/default.nix @@ -2,7 +2,6 @@ , asyncssh , buildPythonPackage , fetchFromGitHub -, fetchpatch , pytest-asyncio , pytest-mock , pytestCheckHook @@ -10,24 +9,18 @@ buildPythonPackage rec { pname = "aioasuswrt"; - version = "1.3.2"; + version = "1.3.3"; src = fetchFromGitHub { owner = "kennedyshead"; repo = pname; rev = "V${version}"; - sha256 = "0bzl11224vny4p9vhi1n5s9p04kfavdzs9xkq5qimbisz9sg4ysj"; + sha256 = "1h1qwc7szgrcwiz4q6x4mlf26is20lj1ds5rcb9i611j26656v6d"; }; - patches = [ - (fetchpatch { - # Remove pytest-runner, https://github.com/kennedyshead/aioasuswrt/pull/63 - url = "https://github.com/kennedyshead/aioasuswrt/pull/63/commits/e7923927648d5d8daccac1716db86db2a45fcb34.patch"; - sha256 = "09xzs3hjr3133li6b7lr58n090r00kaxi9hx1fms2zn0ai4xwp9d"; - }) - ]; - postPatch = '' + substituteInPlace setup.py \ + --replace "cryptography==3.3.2" "cryptography" substituteInPlace setup.cfg \ --replace "--cov-report html" "" \ --replace "--cov-report term-missing" ""