summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/aircot/default.nix
blob: 7aecb9951168b51c01a5027ce58cfdffecd46480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "aircot";
  version = "4.0.2";
  pyproject = true;
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "snstac";
    repo = "aircot";
    tag = "v${finalAttrs.version}";
    hash = "sha256-9G3vHZ5TmFfE7O3TP+MWGHQgVBDJx/adEcQtjGZWqHs=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "aircot" ];

  meta = {
    description = "Display Ships in TAK - AIS to TAK Gateway";
    homepage = "https://aircot.rtfd.io";
    changelog = "https://github.com/snstac/aircot/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ felbinger ];
  };
})