Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aprslib / default.nix
blob390a88fc2bf261812cba1d6c589aca38d99c2f39
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , fetchpatch
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "aprslib";
10   version = "0.7.2";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "rossengeorgiev";
15     repo = "aprs-python";
16     rev = "v${version}";
17     hash = "sha256-2bYTnbJ8wF/smTpZ2tV+3ZRae7FpbNBtXoaR2Sc9Pek=";
18   };
20   patches = [
21     (fetchpatch {
22       url = "https://github.com/rossengeorgiev/aprs-python/commit/c2a0f18ce028a4cced582567a73d57f0d03cd00f.patch";
23       hash = "sha256-uxiLIagz1PIUUa6/qdBW15yhm/0QXqznVzZnzUVCWuQ=";
24     })
25   ];
27   doCheck = false; # mox3 is disabled on python311
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [ "aprslib" ];
35   meta = with lib; {
36     description = "Module for accessing APRS-IS and parsing APRS packets";
37     homepage = "https://github.com/rossengeorgiev/aprs-python";
38     license = licenses.gpl2Plus;
39     maintainers = with maintainers; [ dotlambda ];
40   };