Merge pull request #145340 from fabaff/bump-pyflunearyou

python3Packages.pyflunearyou: 2.0.2 -> 2021.10.0
This commit is contained in:
Fabian Affolter 2021-11-15 14:20:54 +01:00 committed by GitHub
commit bcf0efabc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,15 +15,16 @@
buildPythonPackage rec {
pname = "pyflunearyou";
version = "2.0.2";
version = "2021.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "07n2dvnfpfglpdlnwzj4dy41x2zc07ia2krvxdarnv8wzap30y23";
sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU=";
};
nativeBuildInputs = [
@ -44,11 +45,14 @@ buildPythonPackage rec {
pytestCheckHook
];
# Ignore the examples directory as the files are prefixed with test_.
# disabledTestFiles doesn't seem to work here
disabledTestPaths = [ "examples/" ];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_.
"examples/"
];
pythonImportsCheck = [ "pyflunearyou" ];
pythonImportsCheck = [
"pyflunearyou"
];
meta = with lib; {
description = "Python library for retrieving UV-related information from Flu Near You";