Merge pull request #108616 from fabaff/coronavirus

authored by Jörg Thalheim and committed by GitHub e65e269b 331186b9

+35 -1
+32
pkgs/development/python-modules/coronavirus/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , aiohttp 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "coronavirus"; 9 + version = "1.1.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "nabucasa"; 13 + repo = pname; 14 + rev = version; 15 + sha256 = "0mx6ifp8irj3669c67hs9r79k8gar6j4aq7d4ji21pllyhyahdwm"; 16 + }; 17 + 18 + propagatedBuildInputs = [ 19 + aiohttp 20 + ]; 21 + 22 + # no tests are present 23 + doCheck = false; 24 + pythonImportsCheck = [ "coronavirus" ]; 25 + 26 + meta = with lib; { 27 + description = "Python client for getting Corona virus info"; 28 + homepage = "https://github.com/nabucasa/coronavirus"; 29 + license = with licenses; [ mit ]; 30 + maintainers = with maintainers; [ fab ]; 31 + }; 32 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 137 137 "control4" = ps: with ps; [ ]; # missing inputs: pyControl4 138 138 "conversation" = ps: with ps; [ aiohttp-cors ]; 139 139 "coolmaster" = ps: with ps; [ ]; # missing inputs: pycoolmasternet-async 140 - "coronavirus" = ps: with ps; [ ]; # missing inputs: coronavirus 140 + "coronavirus" = ps: with ps; [ coronavirus ]; 141 141 "counter" = ps: with ps; [ ]; 142 142 "cover" = ps: with ps; [ ]; 143 143 "cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy
+2
pkgs/top-level/python-packages.nix
··· 1384 1384 1385 1385 cornice = callPackage ../development/python-modules/cornice { }; 1386 1386 1387 + coronavirus = callPackage ../development/python-modules/coronavirus { }; 1388 + 1387 1389 cot = callPackage ../development/python-modules/cot { }; 1388 1390 1389 1391 covCore = callPackage ../development/python-modules/cov-core { };