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