2021-03-04 19:14:30 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolyric";
|
2021-11-06 17:00:32 +00:00
|
|
|
version = "1.0.8";
|
2021-03-04 19:14:30 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-11-06 17:00:32 +00:00
|
|
|
sha256 = "sha256-A4EkqSIQ5p4E4DPLYu9a/lmb1sFhwDqFLhjhZS6Zf5c=";
|
2021-03-04 19:14:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# AssertionError, https://github.com/timmo001/aiolyric/issues/5
|
|
|
|
"test_location"
|
|
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiolyric" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module for the Honeywell Lyric Platform";
|
|
|
|
homepage = "https://github.com/timmo001/aiolyric";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|