@@ -15,15 +15,16 @@
16buildPythonPackage rec {
16buildPythonPackage rec {
17 pname = "pyflunearyou";
17 pname = "pyflunearyou";
18− version = "2.0.2";
18+ version = "2021.10.0";
19 format = "pyproject";
19 format = "pyproject";
20 disabled = pythonOlder "3.6";
21 disabled = pythonOlder "3.6";
22 src = fetchFromGitHub {
23 src = fetchFromGitHub {
23 owner = "bachya";
24 owner = "bachya";
24 repo = pname;
25 repo = pname;
25 rev = version;
26 rev = version;
26− sha256 = "07n2dvnfpfglpdlnwzj4dy41x2zc07ia2krvxdarnv8wzap30y23";
27+ sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU=";
29 nativeBuildInputs = [
30 nativeBuildInputs = [
@@ -44,11 +45,14 @@ buildPythonPackage rec {
44 pytestCheckHook
45 pytestCheckHook
48+ disabledTestPaths = [
47− # Ignore the examples directory as the files are prefixed with test_.
49+ # Ignore the examples directory as the files are prefixed with test_.
48− # disabledTestFiles doesn't seem to work here
49− disabledTestPaths = [ "examples/" ];
50+ "examples/"
51− pythonImportsCheck = [ "pyflunearyou" ];
53+ pythonImportsCheck = [
53 meta = with lib; {
57 meta = with lib; {
54 description = "Python library for retrieving UV-related information from Flu Near You";
58 description = "Python library for retrieving UV-related information from Flu Near You";