python3Packages.coronavirus: init at 1.1.1
This commit is contained in:
parent
877bc4b720
commit
07298072dc
32
pkgs/development/python-modules/coronavirus/default.nix
Normal file
32
pkgs/development/python-modules/coronavirus/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -1384,6 +1384,8 @@ in {
|
||||
|
||||
cornice = callPackage ../development/python-modules/cornice { };
|
||||
|
||||
coronavirus = callPackage ../development/python-modules/coronavirus { };
|
||||
|
||||
cot = callPackage ../development/python-modules/cot { };
|
||||
|
||||
covCore = callPackage ../development/python-modules/cov-core { };
|
||||
|
Loading…
Reference in New Issue
Block a user