Merge pull request #109512 from fabaff/toonapi

This commit is contained in:
Sandro 2021-01-16 14:07:11 +01:00 committed by GitHub
commit dea69d99f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,36 @@
{ lib
, aiohttp
, backoff
, buildPythonPackage
, fetchFromGitHub
, yarl
}:
buildPythonPackage rec {
pname = "toonapi";
version = "0.2.0";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-toonapi";
rev = "v${version}";
sha256 = "1d4n615vlcgkvmchrfjw4h3ndav3ljmcfydxr2b41zn83mzizqdf";
};
propagatedBuildInputs = [
aiohttp
backoff
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "toonapi" ];
meta = with lib; {
description = "Python client for the Quby ToonAPI";
homepage = "https://github.com/frenck/python-toonapi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -846,7 +846,7 @@
"todoist" = ps: with ps; [ todoist ];
"tof" = ps: with ps; [ ]; # missing inputs: RPi.GPIO VL53L1X2
"tomato" = ps: with ps; [ ];
"toon" = ps: with ps; [ aiohttp-cors hass-nabucasa ]; # missing inputs: toonapi
"toon" = ps: with ps; [ aiohttp-cors hass-nabucasa toonapi ];
"torque" = ps: with ps; [ aiohttp-cors ];
"totalconnect" = ps: with ps; [ ]; # missing inputs: total_connect_client
"touchline" = ps: with ps; [ ]; # missing inputs: pytouchline

View File

@ -7645,6 +7645,8 @@ in {
else
callPackage ../development/python-modules/toolz/2.nix { };
toonapi = callPackage ../development/python-modules/toonapi { };
toposort = callPackage ../development/python-modules/toposort { };
topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22