1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mox3 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "aprslib"; 10 version = "0.6.47"; 11 12 src = fetchFromGitHub { 13 owner = "rossengeorgiev"; 14 repo = "aprs-python"; 15 rev = "v${version}"; 16 sha256 = "1569v74ym2r8vxx3dnjcs5fr7rdrfb0i9sycny5frw2zgms4ag6b"; 17 }; 18 19 checkInputs = [ 20 mox3 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ "aprslib" ]; 25 26 meta = with lib; { 27 description = "Module for accessing APRS-IS and parsing APRS packets"; 28 homepage = "https://github.com/rossengeorgiev/aprs-python"; 29 license = licenses.gpl2Plus; 30 maintainers = with maintainers; [ dotlambda ]; 31 }; 32}