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