From a62bd76f7f59f76f5e61d47a5608d9764aee651c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Mar 2023 22:15:51 +0100 Subject: [PATCH 1/2] python310Packages.ismartgate: add changelog to meta --- pkgs/development/python-modules/ismartgate/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/ismartgate/default.nix b/pkgs/development/python-modules/ismartgate/default.nix index 7998b03a3782a..ffac2f80d4cd7 100644 --- a/pkgs/development/python-modules/ismartgate/default.nix +++ b/pkgs/development/python-modules/ismartgate/default.nix @@ -58,6 +58,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to work with the ismartgate and gogogate2 API"; homepage = "https://github.com/bdraco/ismartgate"; + changelog = "https://github.com/bdraco/ismartgate/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From ec40c45390e9bfb0a1fb04e25a9dd7d0d8abe7ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Mar 2023 22:17:25 +0100 Subject: [PATCH 2/2] python310Packages.ismartgate: remove asynctest --- .../python-modules/ismartgate/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/ismartgate/default.nix b/pkgs/development/python-modules/ismartgate/default.nix index ffac2f80d4cd7..fd1d81014c820 100644 --- a/pkgs/development/python-modules/ismartgate/default.nix +++ b/pkgs/development/python-modules/ismartgate/default.nix @@ -1,5 +1,4 @@ { lib -, asynctest , buildPythonPackage , click , defusedxml @@ -29,6 +28,11 @@ buildPythonPackage rec { hash = "sha256-o2yzMxrF0WB6MbeL1Tuf0Sq4wS4FDIWZZx1x2rvwLmY="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace '"pytest-runner>=5.2",' "" + ''; + propagatedBuildInputs = [ click defusedxml @@ -39,18 +43,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - asynctest pytest-asyncio pytest-raises pytestCheckHook respx ]; - postPatch = '' - substituteInPlace setup.py \ - --replace '"pytest-runner>=5.2",' "" - ''; - pythonImportsCheck = [ "ismartgate" ];