summary refs log tree commit diff
path: root/pkgs/development/python-modules/libais/default.nix
blob: 5d8c886e00bd2500c620a62c20366d261936debd (plain) (blame)
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
{ stdenv, buildPythonPackage, fetchurl,
  six, pytest, pytestrunner, pytestcov, coverage
}:
buildPythonPackage rec {
  pname = "libais";
  name = "${pname}-${version}";
  version = "0.16";

  src = fetchurl {
    url = "mirror://pypi/l/libais/${name}.tar.bz2";
    sha256 = "14dsh5k32ryszwdn6p45wrqp4ska6cc9qpm6lk5c5d1p4rc7wnhq";
  };

  # data files missing
  doCheck = false;

  buildInputs = [ pytest pytestrunner pytestcov coverage ];
  propagatedBuildInputs = [ six ];

  meta = with stdenv.lib; {
    homepage = https://github.com/schwehr/libais;
    description = "Library for decoding maritime Automatic Identification System messages";
    license = licenses.asl20;
    platforms = platforms.linux;  # It currently fails to build on darwin
  };
}