Loading pkgs/development/python-modules/nexia/default.nix +14 −8 Original line number Diff line number Diff line Loading @@ -8,22 +8,32 @@ , pythonOlder , requests , requests-mock , setuptools }: buildPythonPackage rec { pname = "nexia"; version = "2.0.8"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.5"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "bdraco"; repo = pname; repo = "nexia"; rev = "refs/tags/${version}"; hash = "sha256-dWFARVmGGQxyRhaOrDoAjwXTQNKBFHY2/swFVdEOsmo="; }; postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner",' "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ orjson requests Loading @@ -36,11 +46,6 @@ buildPythonPackage rec { pytestCheckHook ]; postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner",' "" ''; pythonImportsCheck = [ "nexia" ]; Loading @@ -48,6 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for Nexia thermostats"; homepage = "https://github.com/bdraco/nexia"; changelog = "https://github.com/bdraco/nexia/releases/tag/${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; Loading Loading
pkgs/development/python-modules/nexia/default.nix +14 −8 Original line number Diff line number Diff line Loading @@ -8,22 +8,32 @@ , pythonOlder , requests , requests-mock , setuptools }: buildPythonPackage rec { pname = "nexia"; version = "2.0.8"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.5"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "bdraco"; repo = pname; repo = "nexia"; rev = "refs/tags/${version}"; hash = "sha256-dWFARVmGGQxyRhaOrDoAjwXTQNKBFHY2/swFVdEOsmo="; }; postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner",' "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ orjson requests Loading @@ -36,11 +46,6 @@ buildPythonPackage rec { pytestCheckHook ]; postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner",' "" ''; pythonImportsCheck = [ "nexia" ]; Loading @@ -48,6 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for Nexia thermostats"; homepage = "https://github.com/bdraco/nexia"; changelog = "https://github.com/bdraco/nexia/releases/tag/${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; Loading