1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools,
8 six,
9}:
10
11buildPythonPackage rec {
12 pname = "libais";
13 version = "0.17";
14 pyproject = true;
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-6yrqIpjF6XaSfXSOTA0B4f3aLcHXkgA/3WBZBBNQ018=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [ six ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 # data files missing
30 doCheck = false;
31
32 pythonImportsCheck = [ "ais" ];
33
34 meta = with lib; {
35 description = "Library for decoding maritime Automatic Identification System messages";
36 homepage = "https://github.com/schwehr/libais";
37 changelog = "https://github.com/schwehr/libais/blob/master/Changelog.md";
38 license = licenses.asl20;
39 maintainers = [ ];
40 platforms = platforms.unix;
41 };
42}