9 buildPythonPackage rec {
10 pname = "pyweatherflowrest";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
19 rev = "refs/tags/v${version}";
20 hash = "sha256-l1V3HgzqnnoY6sWHwfgBtcIR782RwKhekY2qOLrUMNY=";
28 propagatedBuildInputs = [
33 substituteInPlace pyproject.toml \
34 --replace "--cov=pyweatherflowrest --cov-append" ""
37 # Module has no tests. test.py is a demo script
40 pythonImportsCheck = [
45 description = "Python module to get data from WeatherFlow Weather Stations";
46 homepage = "https://github.com/briis/pyweatherflowrest";
47 changelog = "https://github.com/briis/pyweatherflowrest/blob/v${version}/CHANGELOG.md";
48 license = with licenses; [ mit ];
49 maintainers = with maintainers; [ fab ];