3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.adax-local: init at 0.1.3

This commit is contained in:
Fabian Affolter 2022-02-03 21:24:42 +01:00
parent 84a3eb3743
commit 23eb6d2924
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, aiohttp
, bleak
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, pythonOlder
}:
buildPythonPackage rec {
pname = "adax-local";
version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyAdaxLocal";
rev = version;
hash = "sha256-SGVXzSjtYNRVJN5fUjjskko55/e0L3P8aB90G4HuBOE=";
};
propagatedBuildInputs = [
aiohttp
bleak
async-timeout
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"adax_local"
];
meta = with lib; {
description = "Module for local access to Adax";
homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -194,6 +194,8 @@ in {
adax = callPackage ../development/python-modules/adax { };
adax-local = callPackage ../development/python-modules/adax-local { };
adb-enhanced = callPackage ../development/python-modules/adb-enhanced { };
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };