Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 70 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, fetchFromGitHub, httpx, protobuf, pytest-asyncio, pytest-httpx, pytest-mock, pytestCheckHook, pythonOlder, segno, setuptools-scm, syrupy, zeroconf,}:
buildPythonPackage rec { pname = "devolo-plc-api"; version = "1.4.1"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "2Fake"; repo = "devolo_plc_api"; rev = "refs/tags/v${version}"; hash = "sha256-EP99AswHmLO+8ZQAPjJyw/P9QqfDawy3AqyJR870Qms="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "protobuf>=4.22.0" "protobuf" '';
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ httpx protobuf segno zeroconf ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ pytest-asyncio pytest-httpx pytest-mock pytestCheckHook syrupy ];
disabledTests = [ # pytest-httpx compat issue "test_wrong_password_type" ];
pythonImportsCheck = [ "devolo_plc_api" ];
meta = with lib; { description = "Module to interact with Devolo PLC devices"; homepage = "https://github.com/2Fake/devolo_plc_api"; changelog = "https://github.com/2Fake/devolo_plc_api/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; };}