Skip to content

Commit

Permalink
python3Packages.yoto-api: init at 1.24.2
Browse files Browse the repository at this point in the history
  • Loading branch information
seberm committed Dec 28, 2024
1 parent d568faa commit 098265a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/yoto-api/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytz,
requests,
paho-mqtt,
}:

buildPythonPackage rec {
pname = "yoto-api";
version = "1.24.2";
format = "setuptools";

src = fetchFromGitHub {
owner = "cdnninja";
repo = "yoto_api";
rev = "refs/tags/v${version}";
hash = "sha256-wbqeRTYHDpxKqOwTRkkYGtgYOmnyNQY50dnvI0WprwA=";
};

propagatedBuildInputs = [
pytz
requests
paho-mqtt
];

meta = with lib; {
homepage = "https://github.com/cdnninja/yoto_api";
platforms = platforms.unix;
maintainers = with maintainers; [ seberm ];
license = licenses.mit;
description = "A python package that makes it a bit easier to work with the yoto play API.";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18303,6 +18303,8 @@ self: super: with self; {
python3 = python;
});

yoto-api = callPackage ../development/python-modules/yoto-api { };

youless-api = callPackage ../development/python-modules/youless-api { };

youseedee = callPackage ../development/python-modules/youseedee { };
Expand Down

0 comments on commit 098265a

Please sign in to comment.