python3Packages.coronavirus: init at 1.1.1

This commit is contained in:
Fabian Affolter 2021-01-06 22:24:33 +01:00
parent 877bc4b720
commit 07298072dc
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
}:
buildPythonPackage rec {
pname = "coronavirus";
version = "1.1.1";
src = fetchFromGitHub {
owner = "nabucasa";
repo = pname;
rev = version;
sha256 = "0mx6ifp8irj3669c67hs9r79k8gar6j4aq7d4ji21pllyhyahdwm";
};
propagatedBuildInputs = [
aiohttp
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "coronavirus" ];
meta = with lib; {
description = "Python client for getting Corona virus info";
homepage = "https://github.com/nabucasa/coronavirus";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1384,6 +1384,8 @@ in {
cornice = callPackage ../development/python-modules/cornice { }; cornice = callPackage ../development/python-modules/cornice { };
coronavirus = callPackage ../development/python-modules/coronavirus { };
cot = callPackage ../development/python-modules/cot { }; cot = callPackage ../development/python-modules/cot { };
covCore = callPackage ../development/python-modules/cov-core { }; covCore = callPackage ../development/python-modules/cov-core { };