summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/aiscot/default.nix
blob: a3f5c4a03bf1a8712c997df9fedaff2565ce262f (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
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  pytak,
}:

buildPythonPackage (finalAttrs: {
  pname = "aiscot";
  version = "7.1.3";
  pyproject = true;
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "snstac";
    repo = "aiscot";
    tag = "v${finalAttrs.version}";
    hash = "sha256-BZwDKVyF0AJVCq3YrMiX0PQjfpGMTBpTsQzqXGDBo8M=";
  };

  build-system = [ setuptools ];

  dependencies = [ pytak ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "aiscot" ];

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