python3Packages.adax: init at 0.1.0
This commit is contained in:
parent
6dc0549183
commit
9579d6eb9f
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/adax/default.nix
Normal file
37
pkgs/development/python-modules/adax/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "adax";
|
||||||
|
version = "0.1.0";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Danielhiversen";
|
||||||
|
repo = "pyadax";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "06qk8xbv8lsaabdpi6pclnbkp3vmb4k18spahldazqj8235ii237";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
async-timeout
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "adax" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to communicate with Adax";
|
||||||
|
homepage = "https://github.com/Danielhiversen/pyAdax";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -189,6 +189,8 @@ in {
|
||||||
|
|
||||||
adal = callPackage ../development/python-modules/adal { };
|
adal = callPackage ../development/python-modules/adal { };
|
||||||
|
|
||||||
|
adax = callPackage ../development/python-modules/adax { };
|
||||||
|
|
||||||
adb-enhanced = callPackage ../development/python-modules/adb-enhanced { };
|
adb-enhanced = callPackage ../development/python-modules/adb-enhanced { };
|
||||||
|
|
||||||
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
|
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
|
||||||
|
|
Loading…
Reference in a new issue