Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, loguru, pydantic, poetry-core, pythonOlder, requests}:
buildPythonPackage rec { pname = "pyaussiebb"; version = "0.0.18"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "yaleman"; repo = "aussiebb"; rev = "refs/tags/v${version}"; hash = "sha256-tEdddVsLFCHRvyLCctDakioiop2xWaJlfGE16P1ukHc="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp requests loguru pydantic ];
postPatch = '' substituteInPlace pyproject.toml \ --replace 'requests = "^2.27.1"' 'requests = "*"' '';
# Tests require credentials and requests-testing doCheck = false;
pythonImportsCheck = [ "aussiebb" ];
meta = with lib; { description = "Module for interacting with the Aussie Broadband APIs"; homepage = "https://github.com/yaleman/aussiebb"; changelog = "https://github.com/yaleman/pyaussiebb/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}