nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, mox3
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "aprslib";
10 version = "0.7.1";
11
12 src = fetchFromGitHub {
13 owner = "rossengeorgiev";
14 repo = "aprs-python";
15 rev = "v${version}";
16 hash = "sha256-wWlzOFhWJ7hJeM3RWsPTEsLjRzN4SMXsb2Cd612HB4w=";
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}