b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
43 lines
845 B
Nix
43 lines
845 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, aiohttp
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiomusiccast";
|
|
version = "0.9.1";
|
|
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vigonotion";
|
|
repo = "aiomusiccast";
|
|
rev = version;
|
|
sha256 = "sha256-+BmymfRKwNPlksYcAUb/5cZYeOD5h85YhobmsNFJVE8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiomusiccast" ];
|
|
|
|
meta = with lib; {
|
|
description = "Companion library for musiccast devices intended for the Home Assistant integration";
|
|
homepage = "https://github.com/vigonotion/aiomusiccast";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|