python3Packages.aiomusiccast: init at 0.8.0

This commit is contained in:
Robert Schütz 2021-06-30 16:49:33 +02:00
parent e2eb50e6d6
commit 96d70d7b85
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, aiohttp
}:
buildPythonPackage rec {
pname = "aiomusiccast";
version = "0.8.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "vigonotion";
repo = "aiomusiccast";
rev = version;
sha256 = "1x55w2vhb5mgvlg19cs887xd7fg0cwnp6hb34vajp80q4yff9xk5";
};
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 ];
};
}

View file

@ -325,6 +325,8 @@ in {
aiomultiprocess = callPackage ../development/python-modules/aiomultiprocess { };
aiomusiccast = callPackage ../development/python-modules/aiomusiccast { };
aiomysql = callPackage ../development/python-modules/aiomysql { };
aionotify = callPackage ../development/python-modules/aionotify { };