python311Packages.rki-covid-parser: refactor
This commit is contained in:
parent
5614bd5858
commit
21742dba96
@ -6,22 +6,27 @@
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rki-covid-parser";
|
||||
version = "1.3.3";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thebino";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
repo = "rki-covid-parser";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-e0MJjE4zgBPL+vt9EkgsdGrgqUyKK/1S9ZFxy56PUjc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
@ -45,6 +50,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module for working with data from the Robert-Koch Institut";
|
||||
homepage = "https://github.com/thebino/rki-covid-parser";
|
||||
changelog = "https://github.com/thebino/rki-covid-parser/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user