forked from mirrors/nixpkgs
Merge pull request #126931 from dotlambda/foobot-async-init
python3Packages.foobot-async: init at 1.0.0
This commit is contained in:
commit
0e98d7acab
41
pkgs/development/python-modules/foobot-async/default.nix
Normal file
41
pkgs/development/python-modules/foobot-async/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, aioresponses
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "foobot-async";
|
||||
version = "1.0.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "foobot_async";
|
||||
inherit version;
|
||||
sha256 = "fa557a22de925139cb4a21034ffdbcd01d28bf166c0e680eaf84a99206327f40";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "foobot_async" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "API Client for Foobot Air Quality Monitoring devices";
|
||||
homepage = "https://github.com/reefab/foobot_async";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -275,7 +275,7 @@
|
|||
"flux_led" = ps: with ps; [ flux-led ];
|
||||
"folder" = ps: with ps; [ ];
|
||||
"folder_watcher" = ps: with ps; [ watchdog ];
|
||||
"foobot" = ps: with ps; [ ]; # missing inputs: foobot_async
|
||||
"foobot" = ps: with ps; [ foobot-async ];
|
||||
"forked_daapd" = ps: with ps; [ ]; # missing inputs: pyforked-daapd pylibrespot-java
|
||||
"fortios" = ps: with ps; [ fortiosapi ];
|
||||
"foscam" = ps: with ps; [ ]; # missing inputs: libpyfoscam
|
||||
|
|
|
@ -383,6 +383,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"flux"
|
||||
"folder"
|
||||
"folder_watcher"
|
||||
"foobot"
|
||||
"freebox"
|
||||
"freedns"
|
||||
"fritz"
|
||||
|
|
|
@ -2626,6 +2626,8 @@ in {
|
|||
|
||||
fonttools = callPackage ../development/python-modules/fonttools { };
|
||||
|
||||
foobot-async = callPackage ../development/python-modules/foobot-async { };
|
||||
|
||||
foolscap = callPackage ../development/python-modules/foolscap { };
|
||||
|
||||
forbiddenfruit = callPackage ../development/python-modules/forbiddenfruit { };
|
||||
|
|
Loading…
Reference in a new issue