16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
24 owner = "michaeldavie";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-YIU0fboXw2CHkAeC47pcXlZT2KPO0R1UolBVILlLoPg=";
30 propagatedBuildInputs = [
46 # Tests require network access
47 "test_get_aqhi_regions"
49 "test_get_hydro_sites"
52 "test_get_latest_frame"
58 pythonImportsCheck = [
63 description = "Python library to get Environment Canada weather data";
64 homepage = "https://github.com/michaeldavie/env_canada";
65 changelog = "https://github.com/michaeldavie/env_canada/blob/v${version}/CHANGELOG.md";
66 license = with licenses; [ mit ];
67 maintainers = with maintainers; [ fab ];