My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/aiowebostv/default.nix

39 lines
780 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, websockets
}:
buildPythonPackage rec {
pname = "aiowebostv";
version = "0.2.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "v${version}";
hash = "sha256-A7GiAQIuEXmCfo2pDJESCdAEaLumi1ACXnBMdGKwSvE=";
};
propagatedBuildInputs = [
websockets
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"aiowebostv"
];
meta = with lib; {
description = "Module to interact with LG webOS based TV devices";
homepage = "https://github.com/home-assistant-libs/aiowebostv";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}