@@ -15,15 +15,16 @@
1515
1616buildPythonPackage rec {
1717 pname = "pyflunearyou";
18− version = "2.0.2";
18+ version = "2021.10.0";
1919 format = "pyproject";
20+
2021 disabled = pythonOlder "3.6";
2122
2223 src = fetchFromGitHub {
2324 owner = "bachya";
2425 repo = pname;
2526 rev = version;
26− sha256 = "07n2dvnfpfglpdlnwzj4dy41x2zc07ia2krvxdarnv8wzap30y23";
27+ sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU=";
2728 };
2829
2930 nativeBuildInputs = [
@@ -44,11 +45,14 @@ buildPythonPackage rec {
4445 pytestCheckHook
4546 ];
4647
47− # Ignore the examples directory as the files are prefixed with test_.
48− # disabledTestFiles doesn't seem to work here
49− disabledTestPaths = [ "examples/" ];
48+ disabledTestPaths = [
49+ # Ignore the examples directory as the files are prefixed with test_.
50+ "examples/"
51+ ];
5052
51− pythonImportsCheck = [ "pyflunearyou" ];
53+ pythonImportsCheck = [
54+ "pyflunearyou"
55+ ];
5256
5357 meta = with lib; {
5458 description = "Python library for retrieving UV-related information from Flu Near You";