Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, pytest-asyncio, pytestCheckHook, urllib3, xmltodict,}:
buildPythonPackage rec { pname = "asusrouter"; version = "1.21.0"; pyproject = true;
src = fetchFromGitHub { owner = "Vaskivskyi"; repo = "asusrouter"; tag = version; hash = "sha256-SMQ1jEEMRngl0idWXi7R7KinxR9NnH39vB/itVi7A4A="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools==80.9.0" "setuptools" '';
build-system = [ setuptools ];
dependencies = [ aiohttp urllib3 xmltodict ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "asusrouter" ];
meta = { description = "API wrapper for communication with ASUSWRT-powered routers using HTTP protocol"; homepage = "https://github.com/Vaskivskyi/asusrouter"; changelog = "https://github.com/Vaskivskyi/asusrouter/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ ]; };}