Merge pull request #114470 from fabaff/python-awair
This commit is contained in:
commit
904fc94cb1
47
pkgs/development/python-modules/python-awair/default.nix
Normal file
47
pkgs/development/python-modules/python-awair/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
, vcrpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-awair";
|
||||
version = "0.2.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ahayworth";
|
||||
repo = "python_awair";
|
||||
rev = version;
|
||||
sha256 = "1fqjigc1a0lr9q6bjjq3j8pa39wg1cbkb0l67w94a0i4dkdfri8r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
voluptuous
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
vcrpy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "python_awair" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for the Awair API";
|
||||
homepage = "https://github.com/ahayworth/python_awair";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -63,7 +63,7 @@
|
||||
"automation" = ps: with ps; [ aiohttp-cors ];
|
||||
"avea" = ps: with ps; [ avea ];
|
||||
"avion" = ps: with ps; [ avion ];
|
||||
"awair" = ps: with ps; [ ]; # missing inputs: python_awair
|
||||
"awair" = ps: with ps; [ python-awair ];
|
||||
"aws" = ps: with ps; [ aiobotocore ];
|
||||
"axis" = ps: with ps; [ aiohttp-cors axis paho-mqtt ];
|
||||
"azure_devops" = ps: with ps; [ ]; # missing inputs: aioazuredevops
|
||||
|
@ -6309,6 +6309,8 @@ in {
|
||||
|
||||
python3-openid = callPackage ../development/python-modules/python3-openid { };
|
||||
|
||||
python-awair = callPackage ../development/python-modules/python-awair { };
|
||||
|
||||
python-axolotl = callPackage ../development/python-modules/python-axolotl { };
|
||||
|
||||
python-axolotl-curve25519 = callPackage ../development/python-modules/python-axolotl-curve25519 { };
|
||||
|
Loading…
Reference in New Issue
Block a user