From e61aec6ee66e5ac602efa00974ae184aab319cae Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 30 Jan 2023 12:21:13 +0100 Subject: [PATCH] python310Packages.insteon-frontend-home-assistant: 0.2.0 -> 0.3.0 --- .../default.nix | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix b/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix index 584aa0050ed5..8d6677b046af 100644 --- a/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix +++ b/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix @@ -1,26 +1,37 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder +, setuptools }: buildPythonPackage rec { pname = "insteon-frontend-home-assistant"; - version = "0.2.0"; + version = "0.3.0"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-AP8yf2eEBT8LWs03hKihCgbBkS9sEUg5NkYdagFiqwA="; + hash = "sha256-QaWRafp0901vQFMtlmFzkugNsM4PHRll+FUZlEz6E5g="; }; + nativeBuildInputs = [ + setuptools + ]; + # upstream has no tests doCheck = false; - pythonImportsCheck = [ "insteon_frontend" ]; + pythonImportsCheck = [ + "insteon_frontend" + ]; - meta = { + meta = with lib; { description = "The Insteon frontend for Home Assistant"; homepage = "https://github.com/teharris1/insteon-panel"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ dotlambda ]; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; }; }