From da30dd8e8fcd841a552395b8605b49cba63bcfd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 14 Jun 2021 01:09:35 +0200 Subject: [PATCH] python3Packages.aprslib: init at 0.6.47 --- .../python-modules/aprslib/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/aprslib/default.nix diff --git a/pkgs/development/python-modules/aprslib/default.nix b/pkgs/development/python-modules/aprslib/default.nix new file mode 100644 index 000000000000..c5f4fa75a572 --- /dev/null +++ b/pkgs/development/python-modules/aprslib/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, mox3 +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "aprslib"; + version = "0.6.47"; + + src = fetchFromGitHub { + owner = "rossengeorgiev"; + repo = "aprs-python"; + rev = "v${version}"; + sha256 = "1569v74ym2r8vxx3dnjcs5fr7rdrfb0i9sycny5frw2zgms4ag6b"; + }; + + checkInputs = [ + mox3 + pytestCheckHook + ]; + + pythonImportsCheck = [ "aprslib" ]; + + meta = with lib; { + description = "Module for accessing APRS-IS and parsing APRS packets"; + homepage = "https://github.com/rossengeorgiev/aprs-python"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 20e9481450be..aa261fb84b63 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -477,6 +477,8 @@ in { apptools = callPackage ../development/python-modules/apptools { }; + aprslib = callPackage ../development/python-modules/aprslib { }; + APScheduler = callPackage ../development/python-modules/APScheduler { }; apsw = callPackage ../development/python-modules/apsw { };