1{ stdenv, buildPythonPackage, fetchurl, 2 six, pytest, pytestrunner, pytestcov, coverage 3}: 4buildPythonPackage rec { 5 pname = "libais"; 6 name = "${pname}-${version}"; 7 version = "0.16"; 8 9 src = fetchurl { 10 url = "mirror://pypi/l/libais/${name}.tar.bz2"; 11 sha256 = "14dsh5k32ryszwdn6p45wrqp4ska6cc9qpm6lk5c5d1p4rc7wnhq"; 12 }; 13 14 # data files missing 15 doCheck = false; 16 17 buildInputs = [ pytest pytestrunner pytestcov coverage ]; 18 propagatedBuildInputs = [ six ]; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/schwehr/libais; 22 description = "Library for decoding maritime Automatic Identification System messages"; 23 license = licenses.asl20; 24 platforms = platforms.linux; # It currently fails to build on darwin 25 }; 26}