python3Packages.yoto-api: 2.3.0 -> 3.1.5
https://github.com/cdnninja/yoto_api/releases/tag/v2.4.0 https://github.com/cdnninja/yoto_api/releases/tag/v2.5.0 https://github.com/cdnninja/yoto_api/releases/tag/v3.0.0 https://github.com/cdnninja/yoto_api/releases/tag/v3.1.0 https://github.com/cdnninja/yoto_api/releases/tag/v3.1.2 https://github.com/cdnninja/yoto_api/releases/tag/v3.1.3 https://github.com/cdnninja/yoto_api/releases/tag/v3.1.4 https://github.com/cdnninja/yoto_api/releases/tag/v3.1.5
This commit is contained in:
@@ -3,29 +3,27 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytz,
|
||||
requests,
|
||||
paho-mqtt,
|
||||
aiohttp,
|
||||
aiomqtt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "yoto-api";
|
||||
version = "2.3.0";
|
||||
version = "3.1.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cdnninja";
|
||||
repo = "yoto_api";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-kL3Ry3sRyDTKlhVUQ8rOCm2G8JkFZCmTwoInR6og73s=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Pe1bxpheFBbUuTGL5ucQc5OZrk4HgLTtu1ORWUDm4+M=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pytz
|
||||
requests
|
||||
paho-mqtt
|
||||
aiohttp
|
||||
aiomqtt
|
||||
];
|
||||
|
||||
# All tests require access to and authentication with the Yoto API (api.yotoplay.com).
|
||||
@@ -34,11 +32,11 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "yoto_api" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cdnninja/yoto_api/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/cdnninja/yoto_api/releases/tag/${finalAttrs.src.tag}";
|
||||
homepage = "https://github.com/cdnninja/yoto_api";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ seberm ];
|
||||
license = lib.licenses.mit;
|
||||
description = "Python package that makes it a bit easier to work with the yoto play API";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user