Merge pull request #171084 from r-ryantm/auto-update/python3.10-pytrafikverket

python310Packages.pytrafikverket: 0.1.6.2 -> 0.2.0.1
This commit is contained in:
Fabian Affolter 2022-05-01 10:17:26 +02:00 committed by GitHub
commit e21d60ef64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,15 +4,19 @@
, aiohttp , aiohttp
, async-timeout , async-timeout
, lxml , lxml
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytrafikverket"; pname = "pytrafikverket";
version = "0.1.6.2"; version = "0.2.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0hrjsw53ixgmhsiszdrzzh0wma705nrhq8npzacsyaf43r29zvqy"; hash = "sha256-RsB8b96aCIBM3aABOuuexB5fIo7H1Kq/XsGvV8b7/sA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -23,10 +27,13 @@ buildPythonPackage rec {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pytrafikverket" ];
pythonImportsCheck = [
"pytrafikverket"
];
meta = with lib; { meta = with lib; {
description = "Python library to manage Etekcity Devices and Levoit Air Purifier"; description = "Library to get data from the Swedish Transport Administration (Trafikverket) API";
homepage = "https://github.com/endor-force/pytrafikverket"; homepage = "https://github.com/endor-force/pytrafikverket";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];