2018-04-11 17:25:47 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-02-27 16:34:34 +01:00
|
|
|
six, pytest, pytestrunner, pytestcov, coverage
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "libais";
|
2018-04-11 17:25:47 +02:00
|
|
|
version = "0.17";
|
2017-02-27 16:34:34 +01:00
|
|
|
|
2018-04-11 17:25:47 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0pyka09h8nb0vlzh14npq4nxmzg1046lr3klgn97dsf5k0iflapb";
|
2017-02-27 16:34:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# data files missing
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-04-11 17:25:47 +02:00
|
|
|
checkInputs = [ pytest pytestrunner pytestcov coverage ];
|
2017-02-27 16:34:34 +01:00
|
|
|
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
|
|
|
|
};
|
|
|
|
}
|