forked from mirrors/nixpkgs
python3Packages.adax-local: init at 0.1.3
This commit is contained in:
parent
84a3eb3743
commit
23eb6d2924
43
pkgs/development/python-modules/adax-local/default.nix
Normal file
43
pkgs/development/python-modules/adax-local/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue