mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #157956 from fabaff/aiooncue
This commit is contained in:
commit
80397602f3
3 changed files with 48 additions and 1 deletions
44
pkgs/development/python-modules/aiooncue/default.nix
Normal file
44
pkgs/development/python-modules/aiooncue/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiooncue";
|
||||
version = "0.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-6GnXuYpggUMisfeOnl52xvWFIZRV+oCwsFKAjPwscTU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"pytest-runner",' ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiooncue"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with the Kohler Oncue API";
|
||||
homepage = "https://github.com/bdraco/aiooncue";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -609,7 +609,7 @@
|
|||
"ombi" = ps: with ps; [ pyombi ];
|
||||
"omnilogic" = ps: with ps; [ omnilogic ];
|
||||
"onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"oncue" = ps: with ps; [ ]; # missing inputs: aiooncue
|
||||
"oncue" = ps: with ps; [ aiooncue ];
|
||||
"ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];
|
||||
"onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
|
||||
"onkyo" = ps: with ps; [ onkyo-eiscp ];
|
||||
|
@ -1381,6 +1381,7 @@
|
|||
"octoprint"
|
||||
"omnilogic"
|
||||
"onboarding"
|
||||
"oncue"
|
||||
"ondilo_ico"
|
||||
"open_meteo"
|
||||
"openalpr_cloud"
|
||||
|
|
|
@ -362,6 +362,8 @@ in {
|
|||
|
||||
aionotion = callPackage ../development/python-modules/aionotion { };
|
||||
|
||||
aiooncue = callPackage ../development/python-modules/aiooncue { };
|
||||
|
||||
aiopg = callPackage ../development/python-modules/aiopg { };
|
||||
|
||||
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
|
||||
|
|
Loading…
Reference in a new issue