12 buildPythonPackage rec {
13 pname = "pyweatherflowudp";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
21 repo = "pyweatherflowudp";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-aTwGFYTtd07BsWFaFc7ns+8oh2AxTUfRFSu81Zv5OoA=";
30 propagatedBuildInputs = [
40 pythonImportsCheck = [
45 # Tests require network access
47 "test_listen_and_stop"
48 "test_repetitive_listen_and_stop"
49 "test_process_message"
50 "test_listener_connection_errors"
51 "test_invalid_messages"
55 description = "Library to receive UDP Packets from Weatherflow Weatherstations";
56 homepage = "https://github.com/briis/pyweatherflowudp";
57 changelog = "https://github.com/briis/pyweatherflowudp/blob/${version}/CHANGELOG.md";
58 license = licenses.mit;
59 maintainers = with maintainers; [ fab ];