Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, hatch-vcs, defusedxml, pytest-asyncio, pytest-vcr, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "afsapi"; version = "1.0.3"; pyproject = true;
src = fetchFromGitHub { owner = "wlcrs"; repo = "python-afsapi"; tag = finalAttrs.version; hash = "sha256-zqwP3nzUPMcuHLLWzsZeuS203JXmzL/8B6RMU/c6Cm4="; };
build-system = [ hatchling hatch-vcs ];
dependencies = [ aiohttp defusedxml ];
nativeCheckInputs = [ pytest-asyncio pytest-vcr pytestCheckHook ];
disabledTestPaths = [ # Failed: async def functions are not natively supported. "async_tests.py" # requires local device "tests/test_device_recordings.py" "tests/test_device_recordings_write.py" ];
pythonImportsCheck = [ "afsapi" ];
meta = { changelog = "https://github.com/wlcrs/python-afsapi/releases/tag/${finalAttrs.version}"; description = "Python implementation of the Frontier Silicon API"; homepage = "https://github.com/wlcrs/python-afsapi"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})