python3Packages.pyevilgenius: init at 1.0.0

This commit is contained in:
Fabian Affolter 2021-11-16 22:25:34 +01:00
parent 75b6455294
commit 27988f4e84
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyevilgenius";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = version;
sha256 = "06xnl93sqklg7gx0z50vm79xwww0yyw05c1yynajc9aijfi8cmi3";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no test
doCheck = false;
pythonImportsCheck = [
"pyevilgenius"
];
meta = with lib; {
description = "Python SDK to interact with Evil Genius Labs devices";
homepage = "https://github.com/home-assistant-libs/pyevilgenius";
changelog = "https://github.com/home-assistant-libs/pyevilgenius/releases/tag/${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6378,6 +6378,8 @@ in {
pyevmasm = callPackage ../development/python-modules/pyevmasm { };
pyevilgenius = callPackage ../development/python-modules/pyevilgenius { };
pyexcel = callPackage ../development/python-modules/pyexcel { };
pyexcel-io = callPackage ../development/python-modules/pyexcel-io { };