Loading pkgs/development/python-modules/openwebifpy/default.nix +27 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, pythonOlder , requests, zeroconf, wakeonlan , python }: { lib , buildPythonPackage , fetchPypi , pythonOlder # build-system , setuptools # dependencies , aiohttp # tests , pytestCheckHook }: buildPythonPackage rec { pname = "openwebifpy"; version = "3.2.7"; format = "setuptools"; version = "4.0.0"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "0n9vi6b0y8b41fd7m9p361y3qb5m3b9p9d8g4fasqi7yy4mw2hns"; hash = "sha256-4KYLjRD2n98t/MVan4ox19Yhz0xkSEMUKYdWqcwmBs4="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ requests zeroconf wakeonlan aiohttp ]; checkPhase = '' ${python.interpreter} setup.py test ''; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Provides a python interface to interact with a device running OpenWebIf"; downloadPage = "https://github.com/autinerd/openwebifpy"; homepage = "https://openwebifpy.readthedocs.io/"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; Loading Loading
pkgs/development/python-modules/openwebifpy/default.nix +27 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, pythonOlder , requests, zeroconf, wakeonlan , python }: { lib , buildPythonPackage , fetchPypi , pythonOlder # build-system , setuptools # dependencies , aiohttp # tests , pytestCheckHook }: buildPythonPackage rec { pname = "openwebifpy"; version = "3.2.7"; format = "setuptools"; version = "4.0.0"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "0n9vi6b0y8b41fd7m9p361y3qb5m3b9p9d8g4fasqi7yy4mw2hns"; hash = "sha256-4KYLjRD2n98t/MVan4ox19Yhz0xkSEMUKYdWqcwmBs4="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ requests zeroconf wakeonlan aiohttp ]; checkPhase = '' ${python.interpreter} setup.py test ''; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Provides a python interface to interact with a device running OpenWebIf"; downloadPage = "https://github.com/autinerd/openwebifpy"; homepage = "https://openwebifpy.readthedocs.io/"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; Loading