Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pybravia / default.nix
blobb738d3adf01e5ddd6229a619dba426dfb6732a80
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , poetry-core
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pybravia";
11   version = "0.3.3";
12   format = "pyproject";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "Drafteed";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-Ux9EereKKbgaVQORliW6J5FSBlytLM+m4PVFBk+OW6k=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     aiohttp
29   ];
31   # Module has no tests
32   doCheck = false;
34   pythonImportsCheck = [
35     "pybravia"
36   ];
38   meta = with lib; {
39     description = "Library for remote control of Sony Bravia TVs 2013 and newer";
40     homepage = "https://github.com/Drafteed/pybravia";
41     changelog = "https://github.com/Drafteed/pybravia/releases/tag/v${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };