Something went wrong. Try again.
lol
Something went wrong. Try again.
963 B · 44 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, hatchling, aiohttp,}:
buildPythonPackage rec { pname = "aiomusiccast"; version = "0.15.0"; pyproject = true;
src = fetchFromGitHub { owner = "vigonotion"; repo = "aiomusiccast"; tag = version; hash = "sha256-oFA8i/cdDqOQ9Fq0VWd8eiOg8F1+MNxWanNqoao5+pM="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace '"0.0.0"' '"${version}"' '';
build-system = [ hatchling ];
dependencies = [ aiohttp ];
# upstream has no tests doCheck = false;
pythonImportsCheck = [ "aiomusiccast" ];
meta = { description = "Companion library for musiccast devices intended for the Home Assistant integration"; homepage = "https://github.com/vigonotion/aiomusiccast"; changelog = "https://github.com/vigonotion/aiomusiccast/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}