depot/third_party/nixpkgs/pkgs/development/python-modules/aprslib/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

32 lines
668 B
Nix

{ 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 ];
};
}