Merge pull request #107894 from JamieMagee/advantage_air
This commit is contained in:
commit
e0f22de78a
3 changed files with 30 additions and 2 deletions
26
pkgs/development/python-modules/advantage-air/default.nix
Normal file
26
pkgs/development/python-modules/advantage-air/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ aiohttp, buildPythonPackage, fetchPypi, lib, pythonOlder }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "advantage_air";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version pname;
|
||||||
|
sha256 = "04q2sjw9r50c00m4sfv98w9cwmmr970830c97m32p5j8ijb10j5x";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ aiohttp ];
|
||||||
|
|
||||||
|
# No tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "advantage_air" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "API helper for Advantage Air's MyAir and e-zone API";
|
||||||
|
homepage = "https://github.com/Bre77/advantage_air";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ jamiemagee ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11,7 +11,7 @@
|
||||||
"actiontec" = ps: with ps; [ ];
|
"actiontec" = ps: with ps; [ ];
|
||||||
"adguard" = ps: with ps; [ adguardhome ];
|
"adguard" = ps: with ps; [ adguardhome ];
|
||||||
"ads" = ps: with ps; [ pyads ];
|
"ads" = ps: with ps; [ pyads ];
|
||||||
"advantage_air" = ps: with ps; [ ]; # missing inputs: advantage_air
|
"advantage_air" = ps: with ps; [ advantage_air ];
|
||||||
"aftership" = ps: with ps; [ pyaftership ];
|
"aftership" = ps: with ps; [ pyaftership ];
|
||||||
"agent_dvr" = ps: with ps; [ ]; # missing inputs: agent-py
|
"agent_dvr" = ps: with ps; [ ]; # missing inputs: agent-py
|
||||||
"air_quality" = ps: with ps; [ ];
|
"air_quality" = ps: with ps; [ ];
|
||||||
|
|
|
@ -173,7 +173,9 @@ in {
|
||||||
|
|
||||||
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
||||||
|
|
||||||
adguardhome= callPackage ../development/python-modules/adguardhome { };
|
adguardhome = callPackage ../development/python-modules/adguardhome { };
|
||||||
|
|
||||||
|
advantage-air = callPackage ../development/python-modules/advantage-air { };
|
||||||
|
|
||||||
aenum = callPackage ../development/python-modules/aenum { };
|
aenum = callPackage ../development/python-modules/aenum { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue