Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build-system poetry-core,
# dependencies mashumaro, orjson, pyserial-asyncio-fast,
# tests pytestCheckHook,}:
buildPythonPackage rec { pname = "aiorussound"; version = "4.8.0"; pyproject = true;
# requires newer f-strings introduced in 3.12 disabled = pythonOlder "3.12";
src = fetchFromGitHub { owner = "noahhusby"; repo = "aiorussound"; tag = version; hash = "sha256-JKHuCDabW/OuwM+Kcm8lkLqgql8fhEuTL5pVEGibwzY="; };
build-system = [ poetry-core ];
dependencies = [ mashumaro orjson pyserial-asyncio-fast ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiorussound" ];
meta = with lib; { changelog = "https://github.com/noahhusby/aiorussound/releases/tag/${src.tag}"; description = "Async python package for interfacing with Russound RIO hardware"; homepage = "https://github.com/noahhusby/aiorussound"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };}